#178F2C#178F2C
#178F2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 145.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #178F2C |
|---|---|
| RGB | rgb(23, 143, 44) |
| HSL | hsl(131, 72%, 33%) |
| HSV | hsv(131, 84%, 56%) |
| CMYK | cmyk(83.9%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(51.85, -51.54, 42.23) |
| CIE-LCH | lch(51.85, 66.63, 140.67°) |
| OKLab | oklab(56.79% -0.139 0.0973) |
| OKLCH | oklch(56.79% 0.17 145) |
| XYZ | xyz(10.6297, 20.0076, 5.6840) |
| Luminance | 0.2001 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.59
Forestgreen (CSS)
#228B22
ΔE00 1.90
Kelley Green
#009337
ΔE00 2.08
Irish Green
#019529
ΔE00 2.15
True Green
#089404
ΔE00 3.96
Green
#008000
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178F2C #8F177A
analogous
#3E8F17 #178F2C #178F68
triadic
#178F2C #2C178F #8F2C17
tetradic
#178F2C #173E8F #8F177A #8F6817
square
#178F2C #173E8F #8F177A #8F6817
split-complementary
#178F2C #68178F #8F173E
monochromatic
#06260C #0F5A1C #178F2C #1FC43C #40E05C
Accessibility & contrast
On white
4.20
#178F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#178F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178F2C
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178F2C | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #178f2c; /* rgb */ color: rgb(23, 143, 44); /* oklch */ color: oklch(56.8% 0.170 145.0);
Tailwind
colors: {
custom: {
50: '#6db16a',
500: '#178f2c',
950: '#000000',
},
}SCSS
$custom: #178f2c; $custom-light: #6db16a; $custom-dark: #000000;
JSON
{
"hex": "#178f2c",
"rgb": {
"r": 23,
"g": 143,
"b": 44
},
"hsl": {
"h": 130.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.56793,
"c": 0.16966,
"h": 145
},
"luminance": 0.20009
}Semantic roles & 50–950 ramp
primary
#178F2C
secondary
#C141AA
accent
#39CFEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A