#178D2C#178D2C
#178D2C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.167 H 145.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #178D2C |
|---|---|
| RGB | rgb(23, 141, 44) |
| HSL | hsl(131, 72%, 32%) |
| HSV | hsv(131, 84%, 55%) |
| CMYK | cmyk(83.7%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(51.17, -50.88, 41.49) |
| CIE-LCH | lch(51.17, 65.66, 140.80°) |
| OKLab | oklab(56.23% -0.1372 0.0958) |
| OKLCH | oklch(56.23% 0.167 145.1) |
| XYZ | xyz(10.3321, 19.4125, 5.5848) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.63
Emerald Green
#028F1E
ΔE00 1.84
Kelley Green
#009337
ΔE00 2.49
Irish Green
#019529
ΔE00 2.86
True Green
#089404
ΔE00 4.44
Green
#008000
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178D2C #8D1778
analogous
#3D8D17 #178D2C #178D67
triadic
#178D2C #2C178D #8D2C17
tetradic
#178D2C #173D8D #8D1778 #8D6717
square
#178D2C #173D8D #8D1778 #8D6717
split-complementary
#178D2C #67178D #8D173D
monochromatic
#06240B #0E581C #178D2C #20C23C #3FE05B
Accessibility & contrast
On white
4.30
#178D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#178D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178D2C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178D2C | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #178d2c; /* rgb */ color: rgb(23, 141, 44); /* oklch */ color: oklch(56.2% 0.167 145.1);
Tailwind
colors: {
custom: {
50: '#6caf6a',
500: '#178d2c',
950: '#000000',
},
}SCSS
$custom: #178d2c; $custom-light: #6caf6a; $custom-dark: #000000;
JSON
{
"hex": "#178d2c",
"rgb": {
"r": 23,
"g": 141,
"b": 44
},
"hsl": {
"h": 130.678,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.56228,
"c": 0.16731,
"h": 145.1
},
"luminance": 0.19414
}Semantic roles & 50–950 ramp
primary
#178D2C
secondary
#C040A9
accent
#39CEEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A