#23971F#23971F
#23971F is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.184 H 142.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #23971F |
|---|---|
| RGB | rgb(35, 151, 31) |
| HSL | hsl(118, 66%, 36%) |
| HSV | hsv(118, 79%, 59%) |
| CMYK | cmyk(76.8%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.65, -53.63, 50.07) |
| CIE-LCH | lch(54.65, 73.37, 136.96°) |
| OKLab | oklab(59.15% -0.1458 0.1119) |
| OKLCH | oklch(59.15% 0.184 142.5) |
| XYZ | xyz(12.0063, 22.5881, 5.0232) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.94
Irish Green
#019529
ΔE00 2.17
Emerald Green
#028F1E
ΔE00 3.21
Grass Green
#3F9B0B
ΔE00 3.55
Grassy Green
#419C03
ΔE00 4.12
Kelley Green
#009337
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23971F #931F97
analogous
#5F971F #23971F #1F9757
triadic
#23971F #1F2397 #971F23
tetradic
#23971F #1F5F97 #931F97 #97571F
square
#23971F #1F5F97 #931F97 #97571F
split-complementary
#23971F #571F97 #971F5F
monochromatic
#0B310A #176415 #23971F #2FCA29 #59DC54
Accessibility & contrast
On white
3.81
#23971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#23971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #23971F
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##23971F | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #23971f; /* rgb */ color: rgb(35, 151, 31); /* oklch */ color: oklch(59.1% 0.184 142.5);
Tailwind
colors: {
custom: {
50: '#73b765',
500: '#23971f',
950: '#000000',
},
}SCSS
$custom: #23971f; $custom-light: #73b765; $custom-dark: #000000;
JSON
{
"hex": "#23971f",
"rgb": {
"r": 35,
"g": 151,
"b": 31
},
"hsl": {
"h": 118,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.59147,
"c": 0.18378,
"h": 142.5
},
"luminance": 0.22589
}Semantic roles & 50–950 ramp
primary
#23971F
secondary
#BC52BF
accent
#3FE9E3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A