#1D7E16#1D7E16
#1D7E16 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.162 H 142.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7E16 |
|---|---|
| RGB | rgb(29, 126, 22) |
| HSL | hsl(116, 70%, 29%) |
| HSV | hsv(116, 83%, 49%) |
| CMYK | cmyk(77%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(45.96, -46.93, 44.64) |
| CIE-LCH | lch(45.96, 64.78, 136.43°) |
| OKLab | oklab(51.88% -0.1277 0.0994) |
| OKLCH | oklch(51.88% 0.162 142.1) |
| XYZ | xyz(8.1119, 15.2399, 3.2730) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.98
Green
#008000
ΔE00 1.77
Dark Grass Green
#388004
ΔE00 3.56
Forestgreen (CSS)
#228B22
ΔE00 4.67
Darkish Green
#287C37
ΔE00 5.06
Emerald Green
#028F1E
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7E16 #77167E
analogous
#517E16 #1D7E16 #167E43
triadic
#1D7E16 #161D7E #7E161D
tetradic
#1D7E16 #16517E #77167E #7E4316
square
#1D7E16 #16517E #77167E #7E4316
split-complementary
#1D7E16 #43167E #7E1651
monochromatic
#061A05 #114A0D #1D7E16 #29B21F #3EDB33
Accessibility & contrast
On white
5.19
#1D7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1D7E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7E16
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7E16 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1d7e16; /* rgb */ color: rgb(29, 126, 22); /* oklch */ color: oklch(51.9% 0.162 142.1);
Tailwind
colors: {
custom: {
50: '#6ba45d',
500: '#1d7e16',
950: '#000000',
},
}SCSS
$custom: #1d7e16; $custom-light: #6ba45d; $custom-dark: #000000;
JSON
{
"hex": "#1d7e16",
"rgb": {
"r": 29,
"g": 126,
"b": 22
},
"hsl": {
"h": 115.962,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.5188,
"c": 0.16184,
"h": 142.1
},
"luminance": 0.15241
}Semantic roles & 50–950 ramp
primary
#1D7E16
secondary
#AB3DB3
accent
#3BEDE1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79