#178F1E#178F1E
#178F1E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.178 H 143.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #178F1E |
|---|---|
| RGB | rgb(23, 143, 30) |
| HSL | hsl(124, 72%, 33%) |
| HSV | hsv(124, 84%, 56%) |
| CMYK | cmyk(83.9%, 0%, 79%, 43.9%) |
| CIE-LAB | lab(51.75, -52.79, 47.53) |
| CIE-LCH | lch(51.75, 71.03, 138.00°) |
| OKLab | oklab(56.68% -0.143 0.1066) |
| OKLCH | oklch(56.68% 0.178 143.3) |
| XYZ | xyz(10.4095, 19.9195, 4.5243) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.63
Forestgreen (CSS)
#228B22
ΔE00 1.52
Irish Green
#019529
ΔE00 2.33
True Green
#089404
ΔE00 2.53
Kelley Green
#009337
ΔE00 3.52
Green
#008000
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178F1E #8F1788
analogous
#4C8F17 #178F1E #178F5A
triadic
#178F1E #1E178F #8F1E17
tetradic
#178F1E #174C8F #8F1788 #8F5A17
square
#178F1E #174C8F #8F1788 #8F5A17
split-complementary
#178F1E #5A178F #8F174C
monochromatic
#062608 #0F5A13 #178F1E #1FC429 #40E049
Accessibility & contrast
On white
4.21
#178F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#178F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178F1E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178F1E | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #178f1e; /* rgb */ color: rgb(23, 143, 30); /* oklch */ color: oklch(56.7% 0.178 143.3);
Tailwind
colors: {
custom: {
50: '#6db163',
500: '#178f1e',
950: '#000000',
},
}SCSS
$custom: #178f1e; $custom-light: #6db163; $custom-dark: #000000;
JSON
{
"hex": "#178f1e",
"rgb": {
"r": 23,
"g": 143,
"b": 30
},
"hsl": {
"h": 123.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.56679,
"c": 0.17833,
"h": 143.3
},
"luminance": 0.19921
}Semantic roles & 50–950 ramp
primary
#178F1E
secondary
#C141B9
accent
#39E4EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A