#1D7D1C#1D7D1C
#1D7D1C is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.157 H 142.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7D1C |
|---|---|
| RGB | rgb(29, 125, 28) |
| HSL | hsl(119, 63%, 30%) |
| HSV | hsv(119, 78%, 49%) |
| CMYK | cmyk(76.8%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(45.65, -46.16, 42.27) |
| CIE-LCH | lch(45.65, 62.59, 137.52°) |
| OKLab | oklab(51.63% -0.1253 0.0953) |
| OKLCH | oklch(51.63% 0.157 142.8) |
| XYZ | xyz(8.0494, 15.0114, 3.5716) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.35
Green
#008000
ΔE00 2.48
Dark Grass Green
#388004
ΔE00 4.20
Darkish Green
#287C37
ΔE00 4.30
Forestgreen (CSS)
#228B22
ΔE00 5.02
Emerald Green
#028F1E
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7D1C #7C1C7D
analogous
#4E7D1C #1D7D1C #1C7D4B
triadic
#1D7D1C #1C1D7D #7D1C1D
tetradic
#1D7D1C #1C4E7D #7C1C7D #7D4B1C
square
#1D7D1C #1C4E7D #7C1C7D #7D4B1C
split-complementary
#1D7D1C #4B1C7D #7D1C4E
monochromatic
#061906 #114B11 #1D7D1C #29AF27 #41D43F
Accessibility & contrast
On white
5.25
#1D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#1D7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7D1C
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7D1C | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807108
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1d7d1c; /* rgb */ color: rgb(29, 125, 28); /* oklch */ color: oklch(51.6% 0.157 142.8);
Tailwind
colors: {
custom: {
50: '#6aa45f',
500: '#1d7d1c',
950: '#000000',
},
}SCSS
$custom: #1d7d1c; $custom-light: #6aa45f; $custom-dark: #000000;
JSON
{
"hex": "#1d7d1c",
"rgb": {
"r": 29,
"g": 125,
"b": 28
},
"hsl": {
"h": 119.381,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.51633,
"c": 0.15746,
"h": 142.8
},
"luminance": 0.15012
}Semantic roles & 50–950 ramp
primary
#1D7D1C
secondary
#B044B1
accent
#41E6E5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79