#1D7917#1D7917
#1D7917 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7917 |
|---|---|
| RGB | rgb(29, 121, 23) |
| HSL | hsl(116, 68%, 28%) |
| HSV | hsv(116, 81%, 47%) |
| CMYK | cmyk(76%, 0%, 81%, 52.5%) |
| CIE-LAB | lab(44.23, -45.16, 42.66) |
| CIE-LCH | lch(44.23, 62.13, 136.63°) |
| OKLab | oklab(50.44% -0.1229 0.0954) |
| OKLCH | oklch(50.44% 0.156 142.2) |
| XYZ | xyz(7.4983, 13.9970, 3.1170) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.11
Green
#008000
ΔE00 3.09
Dark Grass Green
#388004
ΔE00 4.59
Darkish Green
#287C37
ΔE00 4.71
Forestgreen (CSS)
#228B22
ΔE00 6.39
Darkgreen
#006400
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7917 #731779
analogous
#4E7917 #1D7917 #177942
triadic
#1D7917 #171D79 #79171D
tetradic
#1D7917 #174E79 #731779 #794217
square
#1D7917 #174E79 #731779 #794217
split-complementary
#1D7917 #421779 #79174E
monochromatic
#061A05 #11460D #1D7917 #29AC21 #3CD832
Accessibility & contrast
On white
5.53
#1D7917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#1D7917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7917
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7917 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1d7917; /* rgb */ color: rgb(29, 121, 23); /* oklch */ color: oklch(50.4% 0.156 142.2);
Tailwind
colors: {
custom: {
50: '#6aa15d',
500: '#1d7917',
950: '#000000',
},
}SCSS
$custom: #1d7917; $custom-light: #6aa15d; $custom-dark: #000000;
JSON
{
"hex": "#1d7917",
"rgb": {
"r": 29,
"g": 121,
"b": 23
},
"hsl": {
"h": 116.327,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.50443,
"c": 0.15557,
"h": 142.2
},
"luminance": 0.13998
}Semantic roles & 50–950 ramp
primary
#1D7917
secondary
#A73EAE
accent
#3DEBE0
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79