#1F7019#1F7019
#1F7019 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.143 H 142.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7019 |
|---|---|
| RGB | rgb(31, 112, 25) |
| HSL | hsl(116, 64%, 27%) |
| HSV | hsv(116, 78%, 44%) |
| CMYK | cmyk(72.3%, 0%, 77.7%, 56.1%) |
| CIE-LAB | lab(41.14, -41.44, 38.91) |
| CIE-LCH | lch(41.14, 56.85, 136.81°) |
| OKLab | oklab(47.89% -0.1128 0.0878) |
| OKLCH | oklch(47.89% 0.143 142.1) |
| XYZ | xyz(6.5343, 11.9491, 2.8816) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.38
Tree Green
#2A7E19
ΔE00 5.08
Darkish Green
#287C37
ΔE00 5.53
Green
#008000
ΔE00 6.11
Dark Grass Green
#388004
ΔE00 7.12
Deep Green
#02590F
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7019 #6A1970
analogous
#4B7019 #1F7019 #19703F
triadic
#1F7019 #191F70 #70191F
tetradic
#1F7019 #194B70 #6A1970 #703F19
square
#1F7019 #194B70 #6A1970 #703F19
split-complementary
#1F7019 #3F1970 #70194B
monochromatic
#071906 #113E0E #1F7019 #2DA224 #3DD132
Accessibility & contrast
On white
6.19
#1F7019 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#1F7019 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7019
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7019 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7019 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#695F22
Tritanopia (blue-blind)
#0A6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f7019; /* rgb */ color: rgb(31, 112, 25); /* oklch */ color: oklch(47.9% 0.143 142.1);
Tailwind
colors: {
custom: {
50: '#689a5c',
500: '#1f7019',
950: '#000000',
},
}SCSS
$custom: #1f7019; $custom-light: #689a5c; $custom-dark: #000000;
JSON
{
"hex": "#1f7019",
"rgb": {
"r": 31,
"g": 112,
"b": 25
},
"hsl": {
"h": 115.862,
"s": 63.504,
"l": 26.863
},
"oklch": {
"l": 0.47892,
"c": 0.143,
"h": 142.1
},
"luminance": 0.1195
}Semantic roles & 50–950 ramp
primary
#1F7019
secondary
#9E40A5
accent
#41E7DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79