#1F7724#1F7724
#1F7724 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.144 H 143.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7724 |
|---|---|
| RGB | rgb(31, 119, 36) |
| HSL | hsl(123, 59%, 29%) |
| HSV | hsv(123, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 69.7%, 53.3%) |
| CIE-LAB | lab(43.67, -42.93, 36.94) |
| CIE-LCH | lch(43.67, 56.64, 139.29°) |
| OKLab | oklab(50.02% -0.1163 0.0852) |
| OKLCH | oklch(50.02% 0.144 143.8) |
| XYZ | xyz(7.4799, 13.6115, 3.9018) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.25
Tree Green
#2A7E19
ΔE00 3.55
Green
#008000
ΔE00 4.86
Dark Grass Green
#388004
ΔE00 6.22
Jungle Green
#048243
ΔE00 6.30
Darkgreen
#006400
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7724 #771F72
analogous
#46771F #1F7724 #1F7750
triadic
#1F7724 #241F77 #77241F
tetradic
#1F7724 #1F4677 #771F72 #77501F
square
#1F7724 #1F4677 #771F72 #77501F
split-complementary
#1F7724 #501F77 #771F46
monochromatic
#061807 #124615 #1F7724 #2CA833 #43CE4A
Accessibility & contrast
On white
5.64
#1F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#1F7724 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7724
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7724 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7724 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B19
Deuteranopia (green-blind)
#6F642C
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f7724; /* rgb */ color: rgb(31, 119, 36); /* oklch */ color: oklch(50.0% 0.144 143.8);
Tailwind
colors: {
custom: {
50: '#699f63',
500: '#1f7724',
950: '#000000',
},
}SCSS
$custom: #1f7724; $custom-light: #699f63; $custom-dark: #000000;
JSON
{
"hex": "#1f7724",
"rgb": {
"r": 31,
"g": 119,
"b": 36
},
"hsl": {
"h": 123.409,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50022,
"c": 0.14416,
"h": 143.8
},
"luminance": 0.13612
}Semantic roles & 50–950 ramp
primary
#1F7724
secondary
#AB47A5
accent
#46D9E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A