#1F7718#1F7718
#1F7718 is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.152 H 142.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7718 |
|---|---|
| RGB | rgb(31, 119, 24) |
| HSL | hsl(116, 66%, 28%) |
| HSV | hsv(116, 80%, 47%) |
| CMYK | cmyk(73.9%, 0%, 79.8%, 53.3%) |
| CIE-LAB | lab(43.58, -44.02, 41.70) |
| CIE-LCH | lch(43.58, 60.64, 136.55°) |
| OKLab | oklab(49.92% -0.1199 0.0935) |
| OKLCH | oklch(49.92% 0.152 142) |
| XYZ | xyz(7.3263, 13.5501, 3.0933) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.70
Green
#008000
ΔE00 3.78
Darkish Green
#287C37
ΔE00 4.70
Dark Grass Green
#388004
ΔE00 5.05
Darkgreen
#006400
ΔE00 6.49
Forestgreen (CSS)
#228B22
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7718 #701877
analogous
#4E7718 #1F7718 #187740
triadic
#1F7718 #181F77 #77181F
tetradic
#1F7718 #184E77 #701877 #774018
square
#1F7718 #184E77 #701877 #774018
split-complementary
#1F7718 #401877 #77184E
monochromatic
#071905 #12440E #1F7718 #2CAA22 #3FD633
Accessibility & contrast
On white
5.66
#1F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#1F7718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7718
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7718 | 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)
#7A6B02
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#057365
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f7718; /* rgb */ color: rgb(31, 119, 24); /* oklch */ color: oklch(49.9% 0.152 142.0);
Tailwind
colors: {
custom: {
50: '#6a9f5d',
500: '#1f7718',
950: '#000000',
},
}SCSS
$custom: #1f7718; $custom-light: #6a9f5d; $custom-dark: #000000;
JSON
{
"hex": "#1f7718",
"rgb": {
"r": 31,
"g": 119,
"b": 24
},
"hsl": {
"h": 115.579,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.49919,
"c": 0.15204,
"h": 142
},
"luminance": 0.13551
}Semantic roles & 50–950 ramp
primary
#1F7718
secondary
#A43FAC
accent
#3EE9DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79