#178917#178917
#178917 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.175 H 142.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #178917 |
|---|---|
| RGB | rgb(23, 137, 23) |
| HSL | hsl(120, 71%, 31%) |
| HSV | hsv(120, 83%, 54%) |
| CMYK | cmyk(83.2%, 0%, 83.2%, 46.3%) |
| CIE-LAB | lab(49.66, -51.35, 47.77) |
| CIE-LCH | lch(49.66, 70.14, 137.07°) |
| OKLab | oklab(54.93% -0.1394 0.1061) |
| OKLCH | oklch(54.93% 0.175 142.7) |
| XYZ | xyz(9.4531, 18.1342, 3.8125) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.26
Emerald Green
#028F1E
ΔE00 2.20
Green
#008000
ΔE00 3.45
Tree Green
#2A7E19
ΔE00 3.99
True Green
#089404
ΔE00 4.11
Irish Green
#019529
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178917 #891789
analogous
#508917 #178917 #178950
triadic
#178917 #171789 #891717
tetradic
#178917 #175089 #891789 #895017
square
#178917 #175089 #891789 #895017
split-complementary
#178917 #501789 #891750
monochromatic
#052005 #0E550E #178917 #20BD20 #3CDE3C
Accessibility & contrast
On white
4.54
#178917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#178917 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178917
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178917 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178917 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #178917; /* rgb */ color: rgb(23, 137, 23); /* oklch */ color: oklch(54.9% 0.175 142.7);
Tailwind
colors: {
custom: {
50: '#6cad5f',
500: '#178917',
950: '#000000',
},
}SCSS
$custom: #178917; $custom-light: #6cad5f; $custom-dark: #000000;
JSON
{
"hex": "#178917",
"rgb": {
"r": 23,
"g": 137,
"b": 23
},
"hsl": {
"h": 120,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.54929,
"c": 0.17516,
"h": 142.7
},
"luminance": 0.18135
}Semantic roles & 50–950 ramp
primary
#178917
secondary
#BD3FBD
accent
#3AEEEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79