#257D1C#257D1C
#257D1C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.155 H 141.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #257D1C |
|---|---|
| RGB | rgb(37, 125, 28) |
| HSL | hsl(114, 63%, 30%) |
| HSV | hsv(114, 78%, 49%) |
| CMYK | cmyk(70.4%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(45.83, -44.63, 42.51) |
| CIE-LCH | lch(45.83, 61.64, 136.39°) |
| OKLab | oklab(51.83% -0.1217 0.0957) |
| OKLCH | oklch(51.83% 0.155 141.8) |
| XYZ | xyz(8.3057, 15.1435, 3.5837) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.82
Green
#008000
ΔE00 2.59
Dark Grass Green
#388004
ΔE00 3.70
Darkish Green
#287C37
ΔE00 4.44
Forestgreen (CSS)
#228B22
ΔE00 4.96
Emerald Green
#028F1E
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#257D1C #741C7D
analogous
#567D1C #257D1C #1C7D43
triadic
#257D1C #1C257D #7D1C25
tetradic
#257D1C #1C567D #741C7D #7D431C
square
#257D1C #1C567D #741C7D #7D431C
split-complementary
#257D1C #431C7D #7D1C56
monochromatic
#071906 #164B11 #257D1C #34AF27 #4DD43F
Accessibility & contrast
On white
5.21
#257D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#257D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #257D1C
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##257D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##257D1C | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807108
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#11796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #257d1c; /* rgb */ color: rgb(37, 125, 28); /* oklch */ color: oklch(51.8% 0.155 141.8);
Tailwind
colors: {
custom: {
50: '#6da460',
500: '#257d1c',
950: '#000000',
},
}SCSS
$custom: #257d1c; $custom-light: #6da460; $custom-dark: #000000;
JSON
{
"hex": "#257d1c",
"rgb": {
"r": 37,
"g": 125,
"b": 28
},
"hsl": {
"h": 114.433,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.51834,
"c": 0.15481,
"h": 141.8
},
"luminance": 0.15144
}Semantic roles & 50–950 ramp
primary
#257D1C
secondary
#A744B1
accent
#41E6D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79