#23872F#23872F
#23872F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.155 H 144.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #23872F |
|---|---|
| RGB | rgb(35, 135, 47) |
| HSL | hsl(127, 59%, 33%) |
| HSV | hsv(127, 74%, 53%) |
| CMYK | cmyk(74.1%, 0%, 65.2%, 47.1%) |
| CIE-LAB | lab(49.36, -46.72, 38.22) |
| CIE-LCH | lch(49.36, 60.36, 140.71°) |
| OKLab | oklab(54.8% -0.1263 0.0891) |
| OKLCH | oklch(54.8% 0.155 144.8) |
| XYZ | xyz(9.8695, 17.8894, 5.6216) |
| Luminance | 0.1789 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.54
Emerald Green
#028F1E
ΔE00 3.77
Tree Green
#2A7E19
ΔE00 4.10
Kelley Green
#009337
ΔE00 4.30
Darkish Green
#287C37
ΔE00 4.62
Green
#008000
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23872F #87237B
analogous
#498723 #23872F #238761
triadic
#23872F #2F2387 #872F23
tetradic
#23872F #234987 #87237B #876123
square
#23872F #234987 #87237B #876123
split-complementary
#23872F #612387 #872349
monochromatic
#0A260D #16561E #23872F #30B840 #52D262
Accessibility & contrast
On white
4.59
#23872F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#23872F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #23872F
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23872F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23872F | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #23872f; /* rgb */ color: rgb(35, 135, 47); /* oklch */ color: oklch(54.8% 0.155 144.8);
Tailwind
colors: {
custom: {
50: '#6eab6b',
500: '#23872f',
950: '#000000',
},
}SCSS
$custom: #23872f; $custom-light: #6eab6b; $custom-dark: #000000;
JSON
{
"hex": "#23872f",
"rgb": {
"r": 35,
"g": 135,
"b": 47
},
"hsl": {
"h": 127.2,
"s": 58.824,
"l": 33.333
},
"oklch": {
"l": 0.54799,
"c": 0.15454,
"h": 144.8
},
"luminance": 0.17891
}Semantic roles & 50–950 ramp
primary
#23872F
secondary
#B650AA
accent
#46CFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A