#1F7719#1F7719
#1F7719 is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.151 H 142.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7719 |
|---|---|
| RGB | rgb(31, 119, 25) |
| HSL | hsl(116, 65%, 28%) |
| HSV | hsv(116, 79%, 47%) |
| CMYK | cmyk(73.9%, 0%, 79%, 53.3%) |
| CIE-LAB | lab(43.59, -43.95, 41.34) |
| CIE-LCH | lch(43.59, 60.34, 136.75°) |
| OKLab | oklab(49.93% -0.1196 0.0929) |
| OKLCH | oklch(49.93% 0.151 142.2) |
| XYZ | xyz(7.3369, 13.5543, 3.1491) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.74
Green
#008000
ΔE00 3.84
Darkish Green
#287C37
ΔE00 4.59
Dark Grass Green
#388004
ΔE00 5.13
Darkgreen
#006400
ΔE00 6.49
Forestgreen (CSS)
#228B22
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7719 #711977
analogous
#4E7719 #1F7719 #197742
triadic
#1F7719 #191F77 #77191F
tetradic
#1F7719 #194E77 #711977 #774219
square
#1F7719 #194E77 #711977 #774219
split-complementary
#1F7719 #421977 #77194E
monochromatic
#071905 #12440E #1F7719 #2CAA24 #40D536
Accessibility & contrast
On white
5.66
#1F7719 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#1F7719 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7719
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7719 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7719 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#047365
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f7719; /* rgb */ color: rgb(31, 119, 25); /* oklch */ color: oklch(49.9% 0.151 142.2);
Tailwind
colors: {
custom: {
50: '#6a9f5d',
500: '#1f7719',
950: '#000000',
},
}SCSS
$custom: #1f7719; $custom-light: #6a9f5d; $custom-dark: #000000;
JSON
{
"hex": "#1f7719",
"rgb": {
"r": 31,
"g": 119,
"b": 25
},
"hsl": {
"h": 116.17,
"s": 65.278,
"l": 28.235
},
"oklch": {
"l": 0.49926,
"c": 0.15146,
"h": 142.2
},
"luminance": 0.13555
}Semantic roles & 50–950 ramp
primary
#1F7719
secondary
#A540AC
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79