#178921#178921
#178921 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.170 H 143.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #178921 |
|---|---|
| RGB | rgb(23, 137, 33) |
| HSL | hsl(125, 71%, 31%) |
| HSV | hsv(125, 83%, 54%) |
| CMYK | cmyk(83.2%, 0%, 75.9%, 46.3%) |
| CIE-LAB | lab(49.72, -50.63, 44.45) |
| CIE-LCH | lch(49.72, 67.37, 138.72°) |
| OKLab | oklab(55% -0.137 0.1006) |
| OKLCH | oklch(55% 0.17 143.7) |
| XYZ | xyz(9.5729, 18.1821, 4.4435) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.00
Emerald Green
#028F1E
ΔE00 2.17
Green
#008000
ΔE00 3.86
Tree Green
#2A7E19
ΔE00 4.05
Irish Green
#019529
ΔE00 4.17
Kelley Green
#009337
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178921 #89177F
analogous
#468917 #178921 #17895A
triadic
#178921 #211789 #892117
tetradic
#178921 #174689 #89177F #895A17
square
#178921 #174689 #89177F #895A17
split-complementary
#178921 #5A1789 #891746
monochromatic
#052008 #0E5514 #178921 #20BD2E #3CDE4A
Accessibility & contrast
On white
4.53
#178921 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#178921 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178921
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178921 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178921 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B0D
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #178921; /* rgb */ color: rgb(23, 137, 33); /* oklch */ color: oklch(55.0% 0.170 143.7);
Tailwind
colors: {
custom: {
50: '#6cad64',
500: '#178921',
950: '#000000',
},
}SCSS
$custom: #178921; $custom-light: #6cad64; $custom-dark: #000000;
JSON
{
"hex": "#178921",
"rgb": {
"r": 23,
"g": 137,
"b": 33
},
"hsl": {
"h": 125.263,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.54995,
"c": 0.16992,
"h": 143.7
},
"luminance": 0.18183
}Semantic roles & 50–950 ramp
primary
#178921
secondary
#BD3FB2
accent
#3ADEEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A