#23771F#23771F
#23771F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.146 H 142.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #23771F |
|---|---|
| RGB | rgb(35, 119, 31) |
| HSL | hsl(117, 59%, 29%) |
| HSV | hsv(117, 74%, 47%) |
| CMYK | cmyk(70.6%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.73, -42.63, 39.18) |
| CIE-LCH | lch(43.73, 57.90, 137.41°) |
| OKLab | oklab(50.08% -0.116 0.0892) |
| OKLCH | oklch(50.08% 0.146 142.4) |
| XYZ | xyz(7.5369, 13.6491, 3.5334) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.94
Darkish Green
#287C37
ΔE00 3.93
Green
#008000
ΔE00 4.33
Dark Grass Green
#388004
ΔE00 5.45
Darkgreen
#006400
ΔE00 6.68
Jungle Green
#048243
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23771F #731F77
analogous
#4F771F #23771F #1F7747
triadic
#23771F #1F2377 #771F23
tetradic
#23771F #1F4F77 #731F77 #77471F
square
#23771F #1F4F77 #731F77 #77471F
split-complementary
#23771F #471F77 #771F4F
monochromatic
#071806 #154612 #23771F #31A82C #49CE43
Accessibility & contrast
On white
5.63
#23771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#23771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #23771F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23771F | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#0E7366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #23771f; /* rgb */ color: rgb(35, 119, 31); /* oklch */ color: oklch(50.1% 0.146 142.4);
Tailwind
colors: {
custom: {
50: '#6b9f60',
500: '#23771f',
950: '#000000',
},
}SCSS
$custom: #23771f; $custom-light: #6b9f60; $custom-dark: #000000;
JSON
{
"hex": "#23771f",
"rgb": {
"r": 35,
"g": 119,
"b": 31
},
"hsl": {
"h": 117.273,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50082,
"c": 0.14631,
"h": 142.4
},
"luminance": 0.1365
}Semantic roles & 50–950 ramp
primary
#23771F
secondary
#A647AB
accent
#46E2DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79