#257F1C#257F1C
#257F1C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.157 H 141.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #257F1C |
|---|---|
| RGB | rgb(37, 127, 28) |
| HSL | hsl(115, 64%, 30%) |
| HSV | hsv(115, 78%, 50%) |
| CMYK | cmyk(70.9%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.52, -45.34, 43.19) |
| CIE-LCH | lch(46.52, 62.62, 136.39°) |
| OKLab | oklab(52.41% -0.1236 0.0972) |
| OKLCH | oklch(52.41% 0.157 141.8) |
| XYZ | xyz(8.5614, 15.6550, 3.6689) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.70
Green
#008000
ΔE00 2.32
Dark Grass Green
#388004
ΔE00 3.43
Forestgreen (CSS)
#228B22
ΔE00 4.25
Darkish Green
#287C37
ΔE00 4.68
Emerald Green
#028F1E
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#257F1C #761C7F
analogous
#577F1C #257F1C #1C7F44
triadic
#257F1C #1C257F #7F1C25
tetradic
#257F1C #1C577F #761C7F #7F441C
square
#257F1C #1C577F #761C7F #7F441C
split-complementary
#257F1C #441C7F #7F1C57
monochromatic
#081B06 #164D11 #257F1C #34B127 #4ED540
Accessibility & contrast
On white
5.08
#257F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#257F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #257F1C
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##257F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##257F1C | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#0F7B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #257f1c; /* rgb */ color: rgb(37, 127, 28); /* oklch */ color: oklch(52.4% 0.157 141.8);
Tailwind
colors: {
custom: {
50: '#6ea560',
500: '#257f1c',
950: '#000000',
},
}SCSS
$custom: #257f1c; $custom-light: #6ea560; $custom-dark: #000000;
JSON
{
"hex": "#257f1c",
"rgb": {
"r": 37,
"g": 127,
"b": 28
},
"hsl": {
"h": 114.545,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52405,
"c": 0.15721,
"h": 141.8
},
"luminance": 0.15656
}Semantic roles & 50–950 ramp
primary
#257F1C
secondary
#A944B3
accent
#41E7D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79