#1F791E#1F791E
#1F791E is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.151 H 142.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F791E |
|---|---|
| RGB | rgb(31, 121, 30) |
| HSL | hsl(119, 60%, 30%) |
| HSV | hsv(119, 75%, 47%) |
| CMYK | cmyk(74.4%, 0%, 75.2%, 52.5%) |
| CIE-LAB | lab(44.32, -44.24, 40.17) |
| CIE-LCH | lch(44.32, 59.75, 137.76°) |
| OKLab | oklab(50.54% -0.1201 0.0912) |
| OKLCH | oklch(50.54% 0.151 142.8) |
| XYZ | xyz(7.6363, 14.0589, 3.5392) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.39
Green
#008000
ΔE00 3.65
Darkish Green
#287C37
ΔE00 3.91
Dark Grass Green
#388004
ΔE00 5.08
Forestgreen (CSS)
#228B22
ΔE00 6.44
Jungle Green
#048243
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F791E #781E79
analogous
#4C791E #1F791E #1E794B
triadic
#1F791E #1E1F79 #791E1F
tetradic
#1F791E #1E4C79 #781E79 #794B1E
square
#1F791E #1E4C79 #781E79 #794B1E
split-complementary
#1F791E #4B1E79 #791E4C
monochromatic
#061906 #124812 #1F791E #2CAA2A #43D041
Accessibility & contrast
On white
5.51
#1F791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#1F791E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F791E
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F791E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F791E | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#017567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f791e; /* rgb */ color: rgb(31, 121, 30); /* oklch */ color: oklch(50.5% 0.151 142.8);
Tailwind
colors: {
custom: {
50: '#6aa160',
500: '#1f791e',
950: '#000000',
},
}SCSS
$custom: #1f791e; $custom-light: #6aa160; $custom-dark: #000000;
JSON
{
"hex": "#1f791e",
"rgb": {
"r": 31,
"g": 121,
"b": 30
},
"hsl": {
"h": 119.341,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.50543,
"c": 0.15082,
"h": 142.8
},
"luminance": 0.1406
}Semantic roles & 50–950 ramp
primary
#1F791E
secondary
#AB46AD
accent
#44E3E2
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79