#1D7E1E#1D7E1E
#1D7E1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.157 H 143.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7E1E |
|---|---|
| RGB | rgb(29, 126, 30) |
| HSL | hsl(121, 63%, 30%) |
| HSV | hsv(121, 77%, 49%) |
| CMYK | cmyk(77%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(46.01, -46.34, 41.88) |
| CIE-LCH | lch(46.01, 62.45, 137.90°) |
| OKLab | oklab(51.94% -0.1257 0.0948) |
| OKLCH | oklch(51.94% 0.157 143) |
| XYZ | xyz(8.2014, 15.2757, 3.7443) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.41
Green
#008000
ΔE00 2.52
Darkish Green
#287C37
ΔE00 4.17
Dark Grass Green
#388004
ΔE00 4.26
Forestgreen (CSS)
#228B22
ΔE00 4.69
Emerald Green
#028F1E
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7E1E #7E1D7D
analogous
#4C7E1D #1D7E1E #1D7E4F
triadic
#1D7E1E #1E1D7E #7E1E1D
tetradic
#1D7E1E #1D4C7E #7E1D7D #7E4F1D
square
#1D7E1E #1D4C7E #7E1D7D #7E4F1D
split-complementary
#1D7E1E #4F1D7E #7E1D4C
monochromatic
#061B06 #124C12 #1D7E1E #28B02A #42D343
Accessibility & contrast
On white
5.18
#1D7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1D7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7E1E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7E1E | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1d7e1e; /* rgb */ color: rgb(29, 126, 30); /* oklch */ color: oklch(51.9% 0.157 143.0);
Tailwind
colors: {
custom: {
50: '#6ba461',
500: '#1d7e1e',
950: '#000000',
},
}SCSS
$custom: #1d7e1e; $custom-light: #6ba461; $custom-dark: #000000;
JSON
{
"hex": "#1d7e1e",
"rgb": {
"r": 29,
"g": 126,
"b": 30
},
"hsl": {
"h": 120.619,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.51936,
"c": 0.15743,
"h": 143
},
"luminance": 0.15277
}Semantic roles & 50–950 ramp
primary
#1D7E1E
secondary
#B145B0
accent
#42E4E6
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79