#178E1A#178E1A
#178E1A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.179 H 142.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #178E1A |
|---|---|
| RGB | rgb(23, 142, 26) |
| HSL | hsl(122, 72%, 32%) |
| HSV | hsv(122, 84%, 56%) |
| CMYK | cmyk(83.8%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(51.38, -52.75, 48.48) |
| CIE-LCH | lch(51.38, 71.64, 137.41°) |
| OKLab | oklab(56.37% -0.143 0.108) |
| OKLCH | oklch(56.37% 0.179 142.9) |
| XYZ | xyz(10.2121, 19.6015, 4.2223) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.86
Forestgreen (CSS)
#228B22
ΔE00 1.39
True Green
#089404
ΔE00 2.56
Irish Green
#019529
ΔE00 2.80
Kelley Green
#009337
ΔE00 3.97
Green
#008000
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178E1A #8E178B
analogous
#4F8E17 #178E1A #178E56
triadic
#178E1A #1A178E #8E1A17
tetradic
#178E1A #174F8E #8E178B #8E5617
square
#178E1A #174F8E #8E178B #8E5617
split-complementary
#178E1A #56178E #8E174F
monochromatic
#062507 #0E5910 #178E1A #20C324 #3FE043
Accessibility & contrast
On white
4.27
#178E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#178E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178E1A
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178E1A | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #178e1a; /* rgb */ color: rgb(23, 142, 26); /* oklch */ color: oklch(56.4% 0.179 142.9);
Tailwind
colors: {
custom: {
50: '#6db061',
500: '#178e1a',
950: '#000000',
},
}SCSS
$custom: #178e1a; $custom-light: #6db061; $custom-dark: #000000;
JSON
{
"hex": "#178e1a",
"rgb": {
"r": 23,
"g": 142,
"b": 26
},
"hsl": {
"h": 121.513,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.5637,
"c": 0.17923,
"h": 142.9
},
"luminance": 0.19603
}Semantic roles & 50–950 ramp
primary
#178E1A
secondary
#C040BD
accent
#39EAEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A