#1F7419#1F7419
#1F7419 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.148 H 142.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7419 |
|---|---|
| RGB | rgb(31, 116, 25) |
| HSL | hsl(116, 65%, 28%) |
| HSV | hsv(116, 78%, 45%) |
| CMYK | cmyk(73.3%, 0%, 78.4%, 54.5%) |
| CIE-LAB | lab(42.54, -42.88, 40.31) |
| CIE-LCH | lch(42.54, 58.85, 136.77°) |
| OKLab | oklab(49.06% -0.1167 0.0908) |
| OKLCH | oklch(49.06% 0.148 142.1) |
| XYZ | xyz(6.9855, 12.8515, 3.0320) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.74
Green
#008000
ΔE00 4.79
Darkish Green
#287C37
ΔE00 4.88
Darkgreen
#006400
ΔE00 5.55
Dark Grass Green
#388004
ΔE00 5.95
Jungle Green
#048243
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7419 #6E1974
analogous
#4C7419 #1F7419 #197440
triadic
#1F7419 #191F74 #74191F
tetradic
#1F7419 #194C74 #6E1974 #744019
square
#1F7419 #194C74 #6E1974 #744019
split-complementary
#1F7419 #401974 #74194C
monochromatic
#071905 #12420E #1F7419 #2CA624 #3FD334
Accessibility & contrast
On white
5.88
#1F7419 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#1F7419 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7419
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7419 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7419 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#077063
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7419; /* rgb */ color: rgb(31, 116, 25); /* oklch */ color: oklch(49.1% 0.148 142.1);
Tailwind
colors: {
custom: {
50: '#699d5d',
500: '#1f7419',
950: '#000000',
},
}SCSS
$custom: #1f7419; $custom-light: #699d5d; $custom-dark: #000000;
JSON
{
"hex": "#1f7419",
"rgb": {
"r": 31,
"g": 116,
"b": 25
},
"hsl": {
"h": 116.044,
"s": 64.539,
"l": 27.647
},
"oklch": {
"l": 0.49056,
"c": 0.14786,
"h": 142.1
},
"luminance": 0.12852
}Semantic roles & 50–950 ramp
primary
#1F7419
secondary
#A240A9
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79