#1F7424#1F7424
#1F7424 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.140 H 143.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7424 |
|---|---|
| RGB | rgb(31, 116, 36) |
| HSL | hsl(124, 58%, 29%) |
| HSV | hsv(124, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 69%, 54.5%) |
| CIE-LAB | lab(42.63, -41.84, 35.81) |
| CIE-LCH | lch(42.63, 55.07, 139.44°) |
| OKLab | oklab(49.16% -0.1133 0.0828) |
| OKLCH | oklch(49.16% 0.14 143.9) |
| XYZ | xyz(7.1285, 12.9087, 3.7847) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.70
Tree Green
#2A7E19
ΔE00 4.48
Green
#008000
ΔE00 5.75
Darkgreen
#006400
ΔE00 6.00
Jungle Green
#048243
ΔE00 6.76
Dark Grass Green
#388004
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7424 #741F6F
analogous
#45741F #1F7424 #1F744F
triadic
#1F7424 #241F74 #74241F
tetradic
#1F7424 #1F4574 #741F6F #744F1F
square
#1F7424 #1F4574 #741F6F #744F1F
split-complementary
#1F7424 #4F1F74 #741F45
monochromatic
#061807 #124415 #1F7424 #2CA433 #41CC49
Accessibility & contrast
On white
5.86
#1F7424 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#1F7424 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7424
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7424 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7424 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76691A
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#027164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7424; /* rgb */ color: rgb(31, 116, 36); /* oklch */ color: oklch(49.2% 0.140 143.9);
Tailwind
colors: {
custom: {
50: '#689d63',
500: '#1f7424',
950: '#000000',
},
}SCSS
$custom: #1f7424; $custom-light: #689d63; $custom-dark: #000000;
JSON
{
"hex": "#1f7424",
"rgb": {
"r": 31,
"g": 116,
"b": 36
},
"hsl": {
"h": 123.529,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49156,
"c": 0.14035,
"h": 143.9
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#1F7424
secondary
#A847A2
accent
#47D8E1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A