#25842F#25842F
#25842F is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.150 H 144.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #25842F |
|---|---|
| RGB | rgb(37, 132, 47) |
| HSL | hsl(126, 56%, 33%) |
| HSV | hsv(126, 72%, 52%) |
| CMYK | cmyk(72%, 0%, 64.4%, 48.2%) |
| CIE-LAB | lab(48.39, -45.27, 37.14) |
| CIE-LCH | lch(48.39, 58.55, 140.64°) |
| OKLab | oklab(54% -0.1224 0.0868) |
| OKLCH | oklch(54% 0.15 144.7) |
| XYZ | xyz(9.5267, 17.1000, 5.4873) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.40
Tree Green
#2A7E19
ΔE00 3.51
Darkish Green
#287C37
ΔE00 3.61
Green
#008000
ΔE00 4.57
Emerald Green
#028F1E
ΔE00 4.75
Jungle Green
#048243
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25842F #84257A
analogous
#4A8425 #25842F #25845E
triadic
#25842F #2F2584 #842F25
tetradic
#25842F #254A84 #84257A #845E25
square
#25842F #254A84 #84257A #845E25
split-complementary
#25842F #5E2584 #84254A
monochromatic
#0A240D #18541E #25842F #32B440 #54CF61
Accessibility & contrast
On white
4.75
#25842F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#25842F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #25842F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25842F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25842F | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867825
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#018072
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #25842f; /* rgb */ color: rgb(37, 132, 47); /* oklch */ color: oklch(54.0% 0.150 144.7);
Tailwind
colors: {
custom: {
50: '#6ea96b',
500: '#25842f',
950: '#000000',
},
}SCSS
$custom: #25842f; $custom-light: #6ea96b; $custom-dark: #000000;
JSON
{
"hex": "#25842f",
"rgb": {
"r": 37,
"g": 132,
"b": 47
},
"hsl": {
"h": 126.316,
"s": 56.213,
"l": 33.137
},
"oklch": {
"l": 0.54003,
"c": 0.15006,
"h": 144.7
},
"luminance": 0.17101
}Semantic roles & 50–950 ramp
primary
#25842F
secondary
#B351A9
accent
#48D0E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A