#1F7016#1F7016
#1F7016 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.145 H 141.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7016 |
|---|---|
| RGB | rgb(31, 112, 22) |
| HSL | hsl(114, 67%, 26%) |
| HSV | hsv(114, 80%, 44%) |
| CMYK | cmyk(72.3%, 0%, 80.4%, 56.1%) |
| CIE-LAB | lab(41.12, -41.68, 40.01) |
| CIE-LCH | lch(41.12, 57.77, 136.17°) |
| OKLab | oklab(47.87% -0.1136 0.0897) |
| OKLCH | oklch(47.87% 0.145 141.7) |
| XYZ | xyz(6.5037, 11.9369, 2.7202) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.30
Tree Green
#2A7E19
ΔE00 4.99
Darkish Green
#287C37
ΔE00 5.80
Green
#008000
ΔE00 5.95
Dark Grass Green
#388004
ΔE00 6.92
Deep Green
#02590F
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7016 #671670
analogous
#4C7016 #1F7016 #16703A
triadic
#1F7016 #161F70 #70161F
tetradic
#1F7016 #164C70 #671670 #703A16
square
#1F7016 #164C70 #671670 #703A16
split-complementary
#1F7016 #3A1670 #70164C
monochromatic
#071A05 #113D0C #1F7016 #2DA320 #3CD52B
Accessibility & contrast
On white
6.20
#1F7016 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#1F7016 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7016
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7016 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7016 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#695F20
Tritanopia (blue-blind)
#0B6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f7016; /* rgb */ color: rgb(31, 112, 22); /* oklch */ color: oklch(47.9% 0.145 141.7);
Tailwind
colors: {
custom: {
50: '#689a5b',
500: '#1f7016',
950: '#000000',
},
}SCSS
$custom: #1f7016; $custom-light: #689a5b; $custom-dark: #000000;
JSON
{
"hex": "#1f7016",
"rgb": {
"r": 31,
"g": 112,
"b": 22
},
"hsl": {
"h": 114,
"s": 67.164,
"l": 26.275
},
"oklch": {
"l": 0.47869,
"c": 0.14477,
"h": 141.7
},
"luminance": 0.11938
}Semantic roles & 50–950 ramp
primary
#1F7016
secondary
#9B3CA6
accent
#3EEAD9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79