#1D7C16#1D7C16
#1D7C16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.160 H 142.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7C16 |
|---|---|
| RGB | rgb(29, 124, 22) |
| HSL | hsl(116, 70%, 29%) |
| HSV | hsv(116, 82%, 49%) |
| CMYK | cmyk(76.6%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.27, -46.26, 43.99) |
| CIE-LCH | lch(45.27, 63.83, 136.44°) |
| OKLab | oklab(51.3% -0.1259 0.098) |
| OKLCH | oklch(51.3% 0.16 142.1) |
| XYZ | xyz(7.8587, 14.7335, 3.1886) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.26
Green
#008000
ΔE00 2.19
Dark Grass Green
#388004
ΔE00 3.88
Darkish Green
#287C37
ΔE00 4.89
Forestgreen (CSS)
#228B22
ΔE00 5.36
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7C16 #75167C
analogous
#507C16 #1D7C16 #167C42
triadic
#1D7C16 #161D7C #7C161D
tetradic
#1D7C16 #16507C #75167C #7C4216
square
#1D7C16 #16507C #75167C #7C4216
split-complementary
#1D7C16 #42167C #7C1650
monochromatic
#061A05 #11480D #1D7C16 #29B01F #3DDB32
Accessibility & contrast
On white
5.32
#1D7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#1D7C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7C16
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7C16 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1d7c16; /* rgb */ color: rgb(29, 124, 22); /* oklch */ color: oklch(51.3% 0.160 142.1);
Tailwind
colors: {
custom: {
50: '#6ba35d',
500: '#1d7c16',
950: '#000000',
},
}SCSS
$custom: #1d7c16; $custom-light: #6ba35d; $custom-dark: #000000;
JSON
{
"hex": "#1d7c16",
"rgb": {
"r": 29,
"g": 124,
"b": 22
},
"hsl": {
"h": 115.882,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51304,
"c": 0.15955,
"h": 142.1
},
"luminance": 0.14734
}Semantic roles & 50–950 ramp
primary
#1D7C16
secondary
#A93DB1
accent
#3BEDE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79