#1D8A1F#1D8A1F
#1D8A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.171 H 143.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1D8A1F |
|---|---|
| RGB | rgb(29, 138, 31) |
| HSL | hsl(121, 65%, 33%) |
| HSV | hsv(121, 79%, 54%) |
| CMYK | cmyk(79%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.14, -50.29, 45.64) |
| CIE-LCH | lch(50.14, 67.91, 137.78°) |
| OKLab | oklab(55.37% -0.1364 0.1027) |
| OKLCH | oklch(55.37% 0.171 143) |
| XYZ | xyz(9.8419, 18.5359, 4.3552) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.51
Emerald Green
#028F1E
ΔE00 1.86
Irish Green
#019529
ΔE00 3.89
True Green
#089404
ΔE00 4.08
Green
#008000
ΔE00 4.09
Tree Green
#2A7E19
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D8A1F #8A1D88
analogous
#518A1D #1D8A1F #1D8A55
triadic
#1D8A1F #1F1D8A #8A1F1D
tetradic
#1D8A1F #1D518A #8A1D88 #8A551D
square
#1D8A1F #1D518A #8A1D88 #8A551D
split-complementary
#1D8A1F #551D8A #8A1D51
monochromatic
#082508 #125714 #1D8A1F #28BD2A #49D94B
Accessibility & contrast
On white
4.46
#1D8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#1D8A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1D8A1F
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D8A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1D8A1F | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1d8a1f; /* rgb */ color: rgb(29, 138, 31); /* oklch */ color: oklch(55.4% 0.171 143.0);
Tailwind
colors: {
custom: {
50: '#6ead63',
500: '#1d8a1f',
950: '#000000',
},
}SCSS
$custom: #1d8a1f; $custom-light: #6ead63; $custom-dark: #000000;
JSON
{
"hex": "#1d8a1f",
"rgb": {
"r": 29,
"g": 138,
"b": 31
},
"hsl": {
"h": 121.101,
"s": 65.269,
"l": 32.745
},
"oklch": {
"l": 0.55371,
"c": 0.17077,
"h": 143
},
"luminance": 0.18537
}Semantic roles & 50–950 ramp
primary
#1D8A1F
secondary
#BB48B9
accent
#40E5E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A