#25871E#25871E
#25871E is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.166 H 142.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #25871E |
|---|---|
| RGB | rgb(37, 135, 30) |
| HSL | hsl(116, 64%, 32%) |
| HSV | hsv(116, 78%, 53%) |
| CMYK | cmyk(72.6%, 0%, 77.8%, 47.1%) |
| CIE-LAB | lab(49.27, -47.99, 45.19) |
| CIE-LCH | lch(49.27, 65.92, 136.72°) |
| OKLab | oklab(54.69% -0.1306 0.1016) |
| OKLCH | oklch(54.69% 0.166 142.1) |
| XYZ | xyz(9.6607, 17.8139, 4.1573) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.44
Emerald Green
#028F1E
ΔE00 2.98
Tree Green
#2A7E19
ΔE00 3.19
Green
#008000
ΔE00 3.35
Dark Grass Green
#388004
ΔE00 3.93
True Green
#089404
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25871E #801E87
analogous
#5A871E #25871E #1E874C
triadic
#25871E #1E2587 #871E25
tetradic
#25871E #1E5A87 #801E87 #874C1E
square
#25871E #1E5A87 #801E87 #874C1E
split-complementary
#25871E #4C1E87 #871E5A
monochromatic
#0A2308 #175513 #25871E #33B929 #52D749
Accessibility & contrast
On white
4.60
#25871E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#25871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #25871E
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25871E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25871E | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#088373
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #25871e; /* rgb */ color: rgb(37, 135, 30); /* oklch */ color: oklch(54.7% 0.166 142.1);
Tailwind
colors: {
custom: {
50: '#70ab62',
500: '#25871e',
950: '#000000',
},
}SCSS
$custom: #25871e; $custom-light: #70ab62; $custom-dark: #000000;
JSON
{
"hex": "#25871e",
"rgb": {
"r": 37,
"g": 135,
"b": 30
},
"hsl": {
"h": 116,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.54692,
"c": 0.16551,
"h": 142.1
},
"luminance": 0.17815
}Semantic roles & 50–950 ramp
primary
#25871E
secondary
#B148B9
accent
#41E7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A