#25811F#25811F
#25811F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.158 H 142.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #25811F |
|---|---|
| RGB | rgb(37, 129, 31) |
| HSL | hsl(116, 61%, 31%) |
| HSV | hsv(116, 76%, 51%) |
| CMYK | cmyk(71.3%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(47.23, -45.81, 42.78) |
| CIE-LCH | lch(47.23, 62.68, 136.96°) |
| OKLab | oklab(53% -0.1247 0.0967) |
| OKLCH | oklch(53% 0.158 142.2) |
| XYZ | xyz(8.8600, 16.1918, 3.9545) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.31
Green
#008000
ΔE00 2.52
Forestgreen (CSS)
#228B22
ΔE00 3.55
Dark Grass Green
#388004
ΔE00 3.61
Darkish Green
#287C37
ΔE00 4.67
Emerald Green
#028F1E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25811F #7B1F81
analogous
#56811F #25811F #1F814A
triadic
#25811F #1F2581 #811F25
tetradic
#25811F #1F5681 #7B1F81 #814A1F
square
#25811F #1F5681 #7B1F81 #814A1F
split-complementary
#25811F #4A1F81 #811F56
monochromatic
#091E07 #175013 #25811F #33B22B #50D347
Accessibility & contrast
On white
4.95
#25811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#25811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #25811F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25811F | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#0D7D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #25811f; /* rgb */ color: rgb(37, 129, 31); /* oklch */ color: oklch(53.0% 0.158 142.2);
Tailwind
colors: {
custom: {
50: '#6ea762',
500: '#25811f',
950: '#000000',
},
}SCSS
$custom: #25811f; $custom-light: #6ea762; $custom-dark: #000000;
JSON
{
"hex": "#25811f",
"rgb": {
"r": 37,
"g": 129,
"b": 31
},
"hsl": {
"h": 116.327,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.52998,
"c": 0.15781,
"h": 142.2
},
"luminance": 0.16193
}Semantic roles & 50–950 ramp
primary
#25811F
secondary
#AD48B4
accent
#43E4DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A