#1F7422#1F7422
#1F7422 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.142 H 143.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7422 |
|---|---|
| RGB | rgb(31, 116, 34) |
| HSL | hsl(122, 58%, 29%) |
| HSV | hsv(122, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 70.7%, 54.5%) |
| CIE-LAB | lab(42.61, -42.05, 36.69) |
| CIE-LCH | lch(42.61, 55.81, 138.90°) |
| OKLab | oklab(49.14% -0.114 0.0844) |
| OKLCH | oklch(49.14% 0.142 143.5) |
| XYZ | xyz(7.0988, 12.8968, 3.6283) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.91
Tree Green
#2A7E19
ΔE00 4.29
Green
#008000
ΔE00 5.53
Darkgreen
#006400
ΔE00 5.88
Dark Grass Green
#388004
ΔE00 6.77
Jungle Green
#048243
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7422 #741F71
analogous
#47741F #1F7422 #1F744D
triadic
#1F7422 #221F74 #74221F
tetradic
#1F7422 #1F4774 #741F71 #744D1F
square
#1F7422 #1F4774 #741F71 #744D1F
split-complementary
#1F7422 #4D1F74 #741F47
monochromatic
#061807 #124414 #1F7422 #2CA430 #41CC46
Accessibility & contrast
On white
5.87
#1F7422 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#1F7422 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7422
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7422 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7422 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766917
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#037163
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7422; /* rgb */ color: rgb(31, 116, 34); /* oklch */ color: oklch(49.1% 0.142 143.5);
Tailwind
colors: {
custom: {
50: '#699d62',
500: '#1f7422',
950: '#000000',
},
}SCSS
$custom: #1f7422; $custom-light: #699d62; $custom-dark: #000000;
JSON
{
"hex": "#1f7422",
"rgb": {
"r": 31,
"g": 116,
"b": 34
},
"hsl": {
"h": 122.118,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49135,
"c": 0.14186,
"h": 143.5
},
"luminance": 0.12898
}Semantic roles & 50–950 ramp
primary
#1F7422
secondary
#A847A4
accent
#47DCE1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79