#178C1A#178C1A
#178C1A is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.177 H 143.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #178C1A |
|---|---|
| RGB | rgb(23, 140, 26) |
| HSL | hsl(122, 72%, 32%) |
| HSV | hsv(122, 84%, 55%) |
| CMYK | cmyk(83.6%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(50.70, -52.11, 47.84) |
| CIE-LCH | lch(50.70, 70.74, 137.45°) |
| OKLab | oklab(55.8% -0.1413 0.1066) |
| OKLCH | oklch(55.8% 0.177 143) |
| XYZ | xyz(9.9172, 19.0117, 4.1240) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.94
Emerald Green
#028F1E
ΔE00 1.22
True Green
#089404
ΔE00 3.20
Irish Green
#019529
ΔE00 3.36
Kelley Green
#009337
ΔE00 4.22
Green
#008000
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178C1A #8C1789
analogous
#4F8C17 #178C1A #178C54
triadic
#178C1A #1A178C #8C1A17
tetradic
#178C1A #174F8C #8C1789 #8C5417
square
#178C1A #174F8C #8C1789 #8C5417
split-complementary
#178C1A #54178C #8C174F
monochromatic
#062306 #0E5710 #178C1A #20C124 #3EDF42
Accessibility & contrast
On white
4.37
#178C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#178C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178C1A
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178C1A | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #178c1a; /* rgb */ color: rgb(23, 140, 26); /* oklch */ color: oklch(55.8% 0.177 143.0);
Tailwind
colors: {
custom: {
50: '#6daf61',
500: '#178c1a',
950: '#000000',
},
}SCSS
$custom: #178c1a; $custom-light: #6daf61; $custom-dark: #000000;
JSON
{
"hex": "#178c1a",
"rgb": {
"r": 23,
"g": 140,
"b": 26
},
"hsl": {
"h": 121.538,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.55801,
"c": 0.17704,
"h": 143
},
"luminance": 0.19013
}Semantic roles & 50–950 ramp
primary
#178C1A
secondary
#BF3FBC
accent
#39EAEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A