#178C27#178C27
#178C27 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.170 H 144.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #178C27 |
|---|---|
| RGB | rgb(23, 140, 39) |
| HSL | hsl(128, 72%, 32%) |
| HSV | hsv(128, 84%, 55%) |
| CMYK | cmyk(83.6%, 0%, 72.1%, 45.1%) |
| CIE-LAB | lab(50.78, -51.06, 43.19) |
| CIE-LCH | lch(50.78, 66.88, 139.77°) |
| OKLab | oklab(55.9% -0.1379 0.0987) |
| OKLCH | oklch(55.9% 0.17 144.4) |
| XYZ | xyz(10.0969, 19.0836, 5.0704) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.01
Emerald Green
#028F1E
ΔE00 1.53
Irish Green
#019529
ΔE00 3.10
Kelley Green
#009337
ΔE00 3.12
True Green
#089404
ΔE00 4.17
Green
#008000
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178C27 #8C177C
analogous
#428C17 #178C27 #178C62
triadic
#178C27 #27178C #8C2717
tetradic
#178C27 #17428C #8C177C #8C6217
square
#178C27 #17428C #8C177C #8C6217
split-complementary
#178C27 #62178C #8C1742
monochromatic
#06230A #0E5718 #178C27 #20C136 #3EDF54
Accessibility & contrast
On white
4.36
#178C27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#178C27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178C27
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178C27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178C27 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #178c27; /* rgb */ color: rgb(23, 140, 39); /* oklch */ color: oklch(55.9% 0.170 144.4);
Tailwind
colors: {
custom: {
50: '#6caf67',
500: '#178c27',
950: '#000000',
},
}SCSS
$custom: #178c27; $custom-light: #6caf67; $custom-dark: #000000;
JSON
{
"hex": "#178c27",
"rgb": {
"r": 23,
"g": 140,
"b": 39
},
"hsl": {
"h": 128.205,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.55898,
"c": 0.16959,
"h": 144.4
},
"luminance": 0.19085
}Semantic roles & 50–950 ramp
primary
#178C27
secondary
#BF3FAE
accent
#39D6EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A