#24731F#24731F
#24731F is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.141 H 142.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #24731F |
|---|---|
| RGB | rgb(36, 115, 31) |
| HSL | hsl(116, 58%, 29%) |
| HSV | hsv(116, 73%, 45%) |
| CMYK | cmyk(68.7%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.36, -40.93, 37.77) |
| CIE-LCH | lch(42.36, 55.69, 137.30°) |
| OKLab | oklab(48.96% -0.1114 0.0862) |
| OKLCH | oklch(48.96% 0.141 142.3) |
| XYZ | xyz(7.1052, 12.7347, 3.3797) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.25
Darkish Green
#287C37
ΔE00 4.46
Darkgreen
#006400
ΔE00 5.54
Green
#008000
ΔE00 5.56
Dark Grass Green
#388004
ΔE00 6.50
Jungle Green
#048243
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24731F #6E1F73
analogous
#4E731F #24731F #1F7344
triadic
#24731F #1F2473 #731F24
tetradic
#24731F #1F4E73 #6E1F73 #73441F
square
#24731F #1F4E73 #6E1F73 #73441F
split-complementary
#24731F #441F73 #731F4E
monochromatic
#081806 #154312 #24731F #33A32C #49CC41
Accessibility & contrast
On white
5.92
#24731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#24731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #24731F
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24731F | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#136F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #24731f; /* rgb */ color: rgb(36, 115, 31); /* oklch */ color: oklch(49.0% 0.141 142.3);
Tailwind
colors: {
custom: {
50: '#6b9c60',
500: '#24731f',
950: '#000000',
},
}SCSS
$custom: #24731f; $custom-light: #6b9c60; $custom-dark: #000000;
JSON
{
"hex": "#24731f",
"rgb": {
"r": 36,
"g": 115,
"b": 31
},
"hsl": {
"h": 116.429,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.48959,
"c": 0.1409,
"h": 142.3
},
"luminance": 0.12735
}Semantic roles & 50–950 ramp
primary
#24731F
secondary
#A147A7
accent
#47E1D8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79