#178D1F#178D1F
#178D1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.176 H 143.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #178D1F |
|---|---|
| RGB | rgb(23, 141, 31) |
| HSL | hsl(124, 72%, 32%) |
| HSV | hsv(124, 84%, 55%) |
| CMYK | cmyk(83.7%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.07, -52.08, 46.52) |
| CIE-LCH | lch(51.07, 69.83, 138.22°) |
| OKLab | oklab(56.12% -0.141 0.1046) |
| OKLCH | oklch(56.12% 0.176 143.4) |
| XYZ | xyz(10.1249, 19.3296, 4.4934) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.84
Forestgreen (CSS)
#228B22
ΔE00 0.88
Irish Green
#019529
ΔE00 2.88
True Green
#089404
ΔE00 3.19
Kelley Green
#009337
ΔE00 3.65
Green
#008000
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178D1F #8D1785
analogous
#4A8D17 #178D1F #178D5A
triadic
#178D1F #1F178D #8D1F17
tetradic
#178D1F #174A8D #8D1785 #8D5A17
square
#178D1F #174A8D #8D1785 #8D5A17
split-complementary
#178D1F #5A178D #8D174A
monochromatic
#062408 #0E5813 #178D1F #20C22B #3FE04A
Accessibility & contrast
On white
4.32
#178D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#178D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178D1F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178D1F | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #178d1f; /* rgb */ color: rgb(23, 141, 31); /* oklch */ color: oklch(56.1% 0.176 143.4);
Tailwind
colors: {
custom: {
50: '#6db063',
500: '#178d1f',
950: '#000000',
},
}SCSS
$custom: #178d1f; $custom-light: #6db063; $custom-dark: #000000;
JSON
{
"hex": "#178d1f",
"rgb": {
"r": 23,
"g": 141,
"b": 31
},
"hsl": {
"h": 124.068,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.56118,
"c": 0.17557,
"h": 143.4
},
"luminance": 0.19331
}Semantic roles & 50–950 ramp
primary
#178D1F
secondary
#C040B7
accent
#39E2EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A