#1D8F2C#1D8F2C
#1D8F2C is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.168 H 144.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1D8F2C |
|---|---|
| RGB | rgb(29, 143, 44) |
| HSL | hsl(128, 66%, 34%) |
| HSV | hsv(128, 80%, 56%) |
| CMYK | cmyk(79.7%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(51.94, -50.77, 42.35) |
| CIE-LCH | lch(51.94, 66.12, 140.17°) |
| OKLab | oklab(56.89% -0.1371 0.0976) |
| OKLCH | oklch(56.89% 0.168 144.6) |
| XYZ | xyz(10.7830, 20.0867, 5.6912) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.61
Forestgreen (CSS)
#228B22
ΔE00 1.79
Irish Green
#019529
ΔE00 2.18
Kelley Green
#009337
ΔE00 2.22
True Green
#089404
ΔE00 3.88
Fern Green
#548D44
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D8F2C #8F1D80
analogous
#478F1D #1D8F2C #1D8F65
triadic
#1D8F2C #2C1D8F #8F2C1D
tetradic
#1D8F2C #1D478F #8F1D80 #8F651D
square
#1D8F2C #1D478F #8F1D80 #8F651D
split-complementary
#1D8F2C #651D8F #8F1D47
monochromatic
#08290D #135C1C #1D8F2C #27C23C #4CDB5F
Accessibility & contrast
On white
4.19
#1D8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#1D8F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1D8F2C
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D8F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1D8F2C | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1d8f2c; /* rgb */ color: rgb(29, 143, 44); /* oklch */ color: oklch(56.9% 0.168 144.6);
Tailwind
colors: {
custom: {
50: '#6eb16a',
500: '#1d8f2c',
950: '#000000',
},
}SCSS
$custom: #1d8f2c; $custom-light: #6eb16a; $custom-dark: #000000;
JSON
{
"hex": "#1d8f2c",
"rgb": {
"r": 29,
"g": 143,
"b": 44
},
"hsl": {
"h": 127.895,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.56894,
"c": 0.16829,
"h": 144.6
},
"luminance": 0.20088
}Semantic roles & 50–950 ramp
primary
#1D8F2C
secondary
#BD4BAE
accent
#3FD3E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A