#257F42#257F42
#257F42 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.126 H 150.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #257F42 |
|---|---|
| RGB | rgb(37, 127, 66) |
| HSL | hsl(139, 55%, 32%) |
| HSV | hsv(139, 71%, 50%) |
| CMYK | cmyk(70.9%, 0%, 48%, 50.2%) |
| CIE-LAB | lab(46.93, -40.55, 25.64) |
| CIE-LCH | lch(46.93, 47.98, 147.70°) |
| OKLab | oklab(52.88% -0.1092 0.0628) |
| OKLCH | oklch(52.88% 0.126 150.1) |
| XYZ | xyz(9.3349, 15.9644, 7.7427) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.84
Darkish Green
#287C37
ΔE00 2.28
Sea Green
#2E8B57
ΔE00 5.25
Dark Sea Green
#11875D
ΔE00 6.33
Tree Green
#2A7E19
ΔE00 7.01
Dark Sage
#598556
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#257F42 #7F2562
analogous
#357F25 #257F42 #257F6F
triadic
#257F42 #42257F #7F4225
tetradic
#257F42 #25357F #7F2562 #7F6F25
square
#257F42 #25357F #7F2562 #7F6F25
split-complementary
#257F42 #6F257F #7F2535
monochromatic
#092011 #175029 #257F42 #33AE5B #52CD79
Accessibility & contrast
On white
5.01
#257F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#257F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #257F42
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##257F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##257F42 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #257f42; /* rgb */ color: rgb(37, 127, 66); /* oklch */ color: oklch(52.9% 0.126 150.1);
Tailwind
colors: {
custom: {
50: '#6ca577',
500: '#257f42',
950: '#000000',
},
}SCSS
$custom: #257f42; $custom-light: #6ca577; $custom-dark: #000000;
JSON
{
"hex": "#257f42",
"rgb": {
"r": 37,
"g": 127,
"b": 66
},
"hsl": {
"h": 139.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.52876,
"c": 0.12599,
"h": 150.1
},
"luminance": 0.15965
}Semantic roles & 50–950 ramp
primary
#257F42
secondary
#B14F91
accent
#4AAEDE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B