#178E2C#178E2C
#178E2C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.168 H 145.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #178E2C |
|---|---|
| RGB | rgb(23, 142, 44) |
| HSL | hsl(131, 72%, 32%) |
| HSV | hsv(131, 84%, 56%) |
| CMYK | cmyk(83.8%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.51, -51.21, 41.86) |
| CIE-LCH | lch(51.51, 66.15, 140.74°) |
| OKLab | oklab(56.51% -0.1381 0.0965) |
| OKLCH | oklch(56.51% 0.168 145) |
| XYZ | xyz(10.4802, 19.7087, 5.6342) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.68
Forestgreen (CSS)
#228B22
ΔE00 1.73
Kelley Green
#009337
ΔE00 2.26
Irish Green
#019529
ΔE00 2.50
True Green
#089404
ΔE00 4.19
Green
#008000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178E2C #8E1779
analogous
#3E8E17 #178E2C #178E67
triadic
#178E2C #2C178E #8E2C17
tetradic
#178E2C #173E8E #8E1779 #8E6717
square
#178E2C #173E8E #8E1779 #8E6717
split-complementary
#178E2C #67178E #8E173E
monochromatic
#06250B #0E591C #178E2C #20C33C #3FE05C
Accessibility & contrast
On white
4.25
#178E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#178E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178E2C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178E2C | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #178e2c; /* rgb */ color: rgb(23, 142, 44); /* oklch */ color: oklch(56.5% 0.168 145.0);
Tailwind
colors: {
custom: {
50: '#6cb06a',
500: '#178e2c',
950: '#000000',
},
}SCSS
$custom: #178e2c; $custom-light: #6cb06a; $custom-dark: #000000;
JSON
{
"hex": "#178e2c",
"rgb": {
"r": 23,
"g": 142,
"b": 44
},
"hsl": {
"h": 130.588,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.56511,
"c": 0.16849,
"h": 145
},
"luminance": 0.1971
}Semantic roles & 50–950 ramp
primary
#178E2C
secondary
#C040AA
accent
#39CFEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A