#1F7219#1F7219
#1F7219 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.145 H 142.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7219 |
|---|---|
| RGB | rgb(31, 114, 25) |
| HSL | hsl(116, 64%, 27%) |
| HSV | hsv(116, 78%, 45%) |
| CMYK | cmyk(72.8%, 0%, 78.1%, 55.3%) |
| CIE-LAB | lab(41.84, -42.17, 39.61) |
| CIE-LCH | lch(41.84, 57.85, 136.79°) |
| OKLab | oklab(48.48% -0.1148 0.0893) |
| OKLCH | oklch(48.48% 0.145 142.1) |
| XYZ | xyz(6.7575, 12.3954, 2.9559) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.41
Darkgreen
#006400
ΔE00 4.95
Darkish Green
#287C37
ΔE00 5.18
Green
#008000
ΔE00 5.45
Dark Grass Green
#388004
ΔE00 6.52
Jungle Green
#048243
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7219 #6C1972
analogous
#4C7219 #1F7219 #197240
triadic
#1F7219 #191F72 #72191F
tetradic
#1F7219 #194C72 #6C1972 #724019
square
#1F7219 #194C72 #6C1972 #724019
split-complementary
#1F7219 #401972 #72194C
monochromatic
#071906 #11400E #1F7219 #2DA424 #3ED233
Accessibility & contrast
On white
6.04
#1F7219 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#1F7219 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7219
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7219 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7219 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#086E61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1f7219; /* rgb */ color: rgb(31, 114, 25); /* oklch */ color: oklch(48.5% 0.145 142.1);
Tailwind
colors: {
custom: {
50: '#699b5c',
500: '#1f7219',
950: '#000000',
},
}SCSS
$custom: #1f7219; $custom-light: #699b5c; $custom-dark: #000000;
JSON
{
"hex": "#1f7219",
"rgb": {
"r": 31,
"g": 114,
"b": 25
},
"hsl": {
"h": 115.955,
"s": 64.029,
"l": 27.255
},
"oklch": {
"l": 0.48475,
"c": 0.14544,
"h": 142.1
},
"luminance": 0.12396
}Semantic roles & 50–950 ramp
primary
#1F7219
secondary
#A040A7
accent
#41E7DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79