#23872E#23872E
#23872E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.155 H 144.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #23872E |
|---|---|
| RGB | rgb(35, 135, 46) |
| HSL | hsl(127, 59%, 33%) |
| HSV | hsv(127, 74%, 53%) |
| CMYK | cmyk(74.1%, 0%, 65.9%, 47.1%) |
| CIE-LAB | lab(49.35, -46.84, 38.67) |
| CIE-LCH | lch(49.35, 60.74, 140.46°) |
| OKLab | oklab(54.79% -0.1266 0.09) |
| OKLCH | oklch(54.79% 0.155 144.6) |
| XYZ | xyz(9.8496, 17.8814, 5.5166) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.41
Emerald Green
#028F1E
ΔE00 3.67
Tree Green
#2A7E19
ΔE00 4.00
Kelley Green
#009337
ΔE00 4.32
Green
#008000
ΔE00 4.69
Darkish Green
#287C37
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23872E #87237C
analogous
#4A8723 #23872E #238760
triadic
#23872E #2E2387 #872E23
tetradic
#23872E #234A87 #87237C #876023
square
#23872E #234A87 #87237C #876023
split-complementary
#23872E #602387 #87234A
monochromatic
#0A260D #16561D #23872E #30B83F #52D260
Accessibility & contrast
On white
4.59
#23872E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#23872E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #23872E
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23872E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23872E | 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)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #23872e; /* rgb */ color: rgb(35, 135, 46); /* oklch */ color: oklch(54.8% 0.155 144.6);
Tailwind
colors: {
custom: {
50: '#6eab6b',
500: '#23872e',
950: '#000000',
},
}SCSS
$custom: #23872e; $custom-light: #6eab6b; $custom-dark: #000000;
JSON
{
"hex": "#23872e",
"rgb": {
"r": 35,
"g": 135,
"b": 46
},
"hsl": {
"h": 126.6,
"s": 58.824,
"l": 33.333
},
"oklch": {
"l": 0.54788,
"c": 0.15532,
"h": 144.6
},
"luminance": 0.17883
}Semantic roles & 50–950 ramp
primary
#23872E
secondary
#B650AB
accent
#46D1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A