#178F1A#178F1A
#178F1A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.180 H 142.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #178F1A |
|---|---|
| RGB | rgb(23, 143, 26) |
| HSL | hsl(122, 72%, 33%) |
| HSV | hsv(122, 84%, 56%) |
| CMYK | cmyk(83.9%, 0%, 81.8%, 43.9%) |
| CIE-LAB | lab(51.72, -53.06, 48.81) |
| CIE-LCH | lch(51.72, 72.09, 137.39°) |
| OKLab | oklab(56.65% -0.1439 0.1087) |
| OKLCH | oklch(56.65% 0.18 142.9) |
| XYZ | xyz(10.3616, 19.9004, 4.2721) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.86
Forestgreen (CSS)
#228B22
ΔE00 1.69
True Green
#089404
ΔE00 2.25
Irish Green
#019529
ΔE00 2.54
Kelley Green
#009337
ΔE00 3.89
Green
#008000
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178F1A #8F178C
analogous
#508F17 #178F1A #178F56
triadic
#178F1A #1A178F #8F1A17
tetradic
#178F1A #17508F #8F178C #8F5617
square
#178F1A #17508F #8F178C #8F5617
split-complementary
#178F1A #56178F #8F1750
monochromatic
#062607 #0F5A10 #178F1A #1FC424 #40E044
Accessibility & contrast
On white
4.22
#178F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#178F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178F1A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178F1A | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 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)
#928100
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #178f1a; /* rgb */ color: rgb(23, 143, 26); /* oklch */ color: oklch(56.7% 0.180 142.9);
Tailwind
colors: {
custom: {
50: '#6eb161',
500: '#178f1a',
950: '#000000',
},
}SCSS
$custom: #178f1a; $custom-light: #6eb161; $custom-dark: #000000;
JSON
{
"hex": "#178f1a",
"rgb": {
"r": 23,
"g": 143,
"b": 26
},
"hsl": {
"h": 121.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.56654,
"c": 0.18032,
"h": 142.9
},
"luminance": 0.19902
}Semantic roles & 50–950 ramp
primary
#178F1A
secondary
#C141BE
accent
#39EAEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A