#257C2F#257C2F
#257C2F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.140 H 145.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #257C2F |
|---|---|
| RGB | rgb(37, 124, 47) |
| HSL | hsl(127, 54%, 32%) |
| HSV | hsv(127, 70%, 49%) |
| CMYK | cmyk(70.2%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(45.65, -42.29, 34.02) |
| CIE-LCH | lch(45.65, 54.28, 141.19°) |
| OKLab | oklab(51.74% -0.1144 0.0801) |
| OKLCH | oklch(51.74% 0.14 145) |
| XYZ | xyz(8.4831, 15.0130, 5.1395) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.46
Tree Green
#2A7E19
ΔE00 3.67
Jungle Green
#048243
ΔE00 4.50
Green
#008000
ΔE00 5.23
Forestgreen (CSS)
#228B22
ΔE00 6.17
Dark Grass Green
#388004
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#257C2F #7C2572
analogous
#477C25 #257C2F #257C5B
triadic
#257C2F #2F257C #7C2F25
tetradic
#257C2F #25477C #7C2572 #7C5B25
square
#257C2F #25477C #7C2572 #7C5B25
split-complementary
#257C2F #5B257C #7C2547
monochromatic
#091E0B #174D1D #257C2F #33AB41 #50CB5F
Accessibility & contrast
On white
5.25
#257C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#257C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #257C2F
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##257C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##257C2F | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#09796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #257c2f; /* rgb */ color: rgb(37, 124, 47); /* oklch */ color: oklch(51.7% 0.140 145.0);
Tailwind
colors: {
custom: {
50: '#6ca36a',
500: '#257c2f',
950: '#000000',
},
}SCSS
$custom: #257c2f; $custom-light: #6ca36a; $custom-dark: #000000;
JSON
{
"hex": "#257c2f",
"rgb": {
"r": 37,
"g": 124,
"b": 47
},
"hsl": {
"h": 126.897,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.5174,
"c": 0.13962,
"h": 145
},
"luminance": 0.15014
}Semantic roles & 50–950 ramp
primary
#257C2F
secondary
#AE4FA3
accent
#4ACDDD
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A