#1F7411#1F7411
#1F7411 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.152 H 141.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7411 |
|---|---|
| RGB | rgb(31, 116, 17) |
| HSL | hsl(112, 74%, 26%) |
| HSV | hsv(112, 85%, 45%) |
| CMYK | cmyk(73.3%, 0%, 85.3%, 54.5%) |
| CIE-LAB | lab(42.49, -43.43, 42.96) |
| CIE-LCH | lch(42.49, 61.09, 135.31°) |
| OKLab | oklab(49% -0.1186 0.0951) |
| OKLCH | oklch(49% 0.152 141.3) |
| XYZ | xyz(6.9113, 12.8218, 2.6408) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.58
Green
#008000
ΔE00 4.43
Dark Grass Green
#388004
ΔE00 5.46
Darkgreen
#006400
ΔE00 5.50
Darkish Green
#287C37
ΔE00 5.64
Forestgreen (CSS)
#228B22
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7411 #661174
analogous
#507411 #1F7411 #117434
triadic
#1F7411 #111F74 #74111F
tetradic
#1F7411 #115074 #661174 #743411
square
#1F7411 #115074 #661174 #743411
split-complementary
#1F7411 #341174 #741150
monochromatic
#071B04 #113F09 #1F7411 #2DA919 #3CDE21
Accessibility & contrast
On white
5.89
#1F7411 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#1F7411 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7411
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7411 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7411 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#097062
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7411; /* rgb */ color: rgb(31, 116, 17); /* oklch */ color: oklch(49.0% 0.152 141.3);
Tailwind
colors: {
custom: {
50: '#699d59',
500: '#1f7411',
950: '#000000',
},
}SCSS
$custom: #1f7411; $custom-light: #699d59; $custom-dark: #000000;
JSON
{
"hex": "#1f7411",
"rgb": {
"r": 31,
"g": 116,
"b": 17
},
"hsl": {
"h": 111.515,
"s": 74.436,
"l": 26.078
},
"oklch": {
"l": 0.49004,
"c": 0.15204,
"h": 141.3
},
"luminance": 0.12823
}Semantic roles & 50–950 ramp
primary
#1F7411
secondary
#9A36AB
accent
#37F1D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79