Skip to content

#257b21

a dark, vivid green · cool · closest name: Green

RGB
37, 123, 33
HSL
117°, 58%, 31%
CMYK
70, 0, 73, 52
Luminance
0.1467

At a glance

Every number on this page in one read: what #257b21 is made of, how bright it looks, and which way it leans.

Hex
#257b21
Hue
117°
green
Saturation
58%
vivid
Lightness
31%
dark
Brightness
48%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1467
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.34:1
Closest name
Green
ΔE2000 3.5
Where it sits
Hue117° of 360°
Saturation58%
Lightness31%
Temperature
Warm ← → Cool61% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#257b21
RGBrgb(37, 123, 33)
HSLhsl(117, 58%, 31%)
CMYKcmyk(70%, 0%, 73%, 52%)
LABlab(45.2 -43.5 39.9)
LCHlch(45.2 59.0 137.5)
OKLCHoklch(0.513 0.149 142.4)
Decimal2456353
Display P3color(display-p3 0.145 0.482 0.129)

Copy-ready code

/* CSS */
color: #257b21;
background-color: #257b21;
/* Tailwind (arbitrary) */
class="text-[#257b21] bg-[#257b21]"
/* SCSS */
$brand: #257b21;
/* SwiftUI */
Color(red: 0.145, green: 0.482, blue: 0.129)
/* Android */
Color.parseColor("#257b21")
/* Flutter */
Color(0xFF257B21)
/* Python / OpenCV (BGR) */
(33, 123, 37)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #257b21 · 5.34:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.34:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.93:1
AA fail · AA large pass · AAA fail
Reading the other direction: #257b21 as text scores 5.34:1 on white and 3.93:1 on black.

Accessibility — WCAG contrast

Aa
#257b21 on white: 5.34:1
AA ✓ pass · AA-large · AAA
Aa
#257b21 on black: 3.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7E6F13
deuteranopia · #74682A
tritanopia · #107769

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #257b21 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FBF4
#E9F7E9
#CFEFCD
#A9E7A7
#7FDB7A
#54D04E
#3AC134
#30A12B
#257b21
#205E1D
#143B12
Base = 800Lightest = 50 · #F4FBF4Darkest = 950 · #143B12
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E9F7E9;
  --brand-200: #CFEFCD;
  --brand-300: #A9E7A7;
  --brand-400: #7FDB7A;
  --brand-500: #54D04E;
  --brand-600: #3AC134;
  --brand-700: #30A12B;
  --brand-800: #257b21;
  --brand-900: #205E1D;
  --brand-950: #143B12;
  --brand: #257b21;
  --brand-ink: #ffffff;
}

Colors that work with #257b21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5FAF4
Tinted page background
Border#C2EDC0
Hairlines and dividers
Muted text#4E9B4B
Captions on the surface
Accent#621E7E
Second voice, not a rival
Dark variant#1E651B
Hover, pressed, headers
Light variant#ECFAEB
Selected rows, tints
Dark surface#142414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #257b21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#77217B
Analogous left#527B21
Analogous right#217B4A
Split-complement 1#4A217B
Split-complement 2#7B2152
Triadic 1#21257B
Triadic 2#7B2125
Tetradic#21527B

RGB percentages

Red14.5%
Green48.2%
Blue12.9%

CMYK percentages

Cyan69.9%
Magenta0.0%
Yellow73.2%
Key (black)51.8%

Color previews

#257b21 text on a black background

contrast 3.93:1

Card sample

#257b21 text on a white background

contrast 5.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #257b21;
Background color
Panel with #257b21 background
background-color: #257b21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #257b21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(37, 123, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(37, 123, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #257b21;
background: linear-gradient(135deg, #257b21, #217B59);

Monochromatic scale

Palettes built from #257b21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#257b21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#257b21, answered

What color is #257b21?

#257b21 is a dark vivid green, closest to Green (ΔE2000 3.5). It sits at 117° on the hue wheel with 58% saturation and 31% lightness, which reads as cool.

What is the RGB value of #257b21?

rgb(37, 123, 33) — 37 red, 123 green and 33 blue out of 255, or 14.5% / 48.2% / 12.9% by channel.

Is #257b21 a light or a dark color?

It is a dark color. Relative luminance is 0.1467 and perceived brightness is 38%, so white text on it reaches 5.34:1.

Should I use black or white text on #257b21?

White. It scores 5.34:1 against #257b21, versus 3.93:1 for black — AA at any size.

What is the complementary color of #257b21?

#77217B sits directly opposite on the wheel. Softer options are the split-complements #4A217B and #7B2152, which give the same contrast with far less vibration.

What colors go well with #257b21?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4E9B4B for secondary text, #621E7E as an accent and #1E651B for hover and pressed states. For a palette, the analogous pair #527B21 and #217B4A stays calm, while #77217B is the loudest partner.

What is #257b21 in CMYK for printing?

cmyk(70%, 0%, 73%, 52%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #257b21 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #467B21; nudged cooler, #1F7D3D.

Work with #257b21 in the Color Lab