#257540#257540
#257540 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.0% C 0.114 H 151.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #257540 |
|---|---|
| RGB | rgb(37, 117, 64) |
| HSL | hsl(140, 52%, 30%) |
| HSV | hsv(140, 68%, 46%) |
| CMYK | cmyk(68.4%, 0%, 45.3%, 54.1%) |
| CIE-LAB | lab(43.49, -36.83, 22.33) |
| CIE-LCH | lch(43.49, 43.08, 148.77°) |
| OKLab | oklab(50.03% -0.0994 0.0551) |
| OKLCH | oklch(50.03% 0.114 151) |
| XYZ | xyz(8.0490, 13.4852, 7.0282) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.96
Jungle Green
#048243
ΔE00 4.84
Dark Sea Green
#11875D
ΔE00 7.82
Spruce
#0A5F38
ΔE00 7.96
Sea Green
#2E8B57
ΔE00 8.12
Pine
#2B5D34
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#257540 #75255A
analogous
#327525 #257540 #257568
triadic
#257540 #402575 #754025
tetradic
#257540 #253275 #75255A #756825
square
#257540 #253275 #75255A #756825
split-complementary
#257540 #682575 #752532
monochromatic
#08180D #164727 #257540 #34A359 #4EC776
Accessibility & contrast
On white
5.68
#257540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#257540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #257540
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##257540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##257540 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766B3C
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#017368
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #257540; /* rgb */ color: rgb(37, 117, 64); /* oklch */ color: oklch(50.0% 0.114 151.0);
Tailwind
colors: {
custom: {
50: '#6a9d75',
500: '#257540',
950: '#000000',
},
}SCSS
$custom: #257540; $custom-light: #6a9d75; $custom-dark: #000000;
JSON
{
"hex": "#257540",
"rgb": {
"r": 37,
"g": 117,
"b": 64
},
"hsl": {
"h": 140.25,
"s": 51.948,
"l": 30.196
},
"oklch": {
"l": 0.50027,
"c": 0.11362,
"h": 151
},
"luminance": 0.13486
}Semantic roles & 50–950 ramp
primary
#257540
secondary
#A84E89
accent
#4CABDB
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B