#1F7420#1F7420
#1F7420 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.143 H 143.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7420 |
|---|---|
| RGB | rgb(31, 116, 32) |
| HSL | hsl(121, 58%, 29%) |
| HSV | hsv(121, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 72.4%, 54.5%) |
| CIE-LAB | lab(42.59, -42.26, 37.54) |
| CIE-LCH | lch(42.59, 56.53, 138.38°) |
| OKLab | oklab(49.12% -0.1147 0.086) |
| OKLCH | oklch(49.12% 0.143 143.1) |
| XYZ | xyz(7.0707, 12.8856, 3.4808) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.13
Tree Green
#2A7E19
ΔE00 4.13
Green
#008000
ΔE00 5.34
Darkgreen
#006400
ΔE00 5.77
Dark Grass Green
#388004
ΔE00 6.56
Jungle Green
#048243
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7420 #741F73
analogous
#49741F #1F7420 #1F744B
triadic
#1F7420 #201F74 #74201F
tetradic
#1F7420 #1F4974 #741F73 #744B1F
square
#1F7420 #1F4974 #741F73 #744B1F
split-complementary
#1F7420 #4B1F74 #741F49
monochromatic
#061807 #124413 #1F7420 #2CA42D #41CC43
Accessibility & contrast
On white
5.87
#1F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#1F7420 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7420
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7420 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7420 | 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)
#776913
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#047163
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7420; /* rgb */ color: rgb(31, 116, 32); /* oklch */ color: oklch(49.1% 0.143 143.1);
Tailwind
colors: {
custom: {
50: '#699d60',
500: '#1f7420',
950: '#000000',
},
}SCSS
$custom: #1f7420; $custom-light: #699d60; $custom-dark: #000000;
JSON
{
"hex": "#1f7420",
"rgb": {
"r": 31,
"g": 116,
"b": 32
},
"hsl": {
"h": 120.706,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49116,
"c": 0.14331,
"h": 143.1
},
"luminance": 0.12886
}Semantic roles & 50–950 ramp
primary
#1F7420
secondary
#A847A7
accent
#47DFE1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79