#178B27#178B27
#178B27 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.168 H 144.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #178B27 |
|---|---|
| RGB | rgb(23, 139, 39) |
| HSL | hsl(128, 72%, 32%) |
| HSV | hsv(128, 83%, 55%) |
| CMYK | cmyk(83.5%, 0%, 71.9%, 45.5%) |
| CIE-LAB | lab(50.44, -50.74, 42.83) |
| CIE-LCH | lch(50.44, 66.40, 139.83°) |
| OKLab | oklab(55.61% -0.137 0.098) |
| OKLCH | oklch(55.61% 0.168 144.4) |
| XYZ | xyz(9.9515, 18.7927, 5.0219) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.03
Emerald Green
#028F1E
ΔE00 1.82
Kelley Green
#009337
ΔE00 3.35
Irish Green
#019529
ΔE00 3.45
True Green
#089404
ΔE00 4.46
Green
#008000
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178B27 #8B177B
analogous
#418B17 #178B27 #178B61
triadic
#178B27 #27178B #8B2717
tetradic
#178B27 #17418B #8B177B #8B6117
square
#178B27 #17418B #8B177B #8B6117
split-complementary
#178B27 #61178B #8B1741
monochromatic
#06220A #0E5618 #178B27 #20C036 #3DDF54
Accessibility & contrast
On white
4.41
#178B27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#178B27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178B27
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178B27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178B27 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D18
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #178b27; /* rgb */ color: rgb(23, 139, 39); /* oklch */ color: oklch(55.6% 0.168 144.4);
Tailwind
colors: {
custom: {
50: '#6cae67',
500: '#178b27',
950: '#000000',
},
}SCSS
$custom: #178b27; $custom-light: #6cae67; $custom-dark: #000000;
JSON
{
"hex": "#178b27",
"rgb": {
"r": 23,
"g": 139,
"b": 39
},
"hsl": {
"h": 128.276,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.55614,
"c": 0.16843,
"h": 144.4
},
"luminance": 0.18794
}Semantic roles & 50–950 ramp
primary
#178B27
secondary
#BF3FAD
accent
#39D5EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A