#176818#176818
#176818 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.136 H 143.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #176818 |
|---|---|
| RGB | rgb(23, 104, 24) |
| HSL | hsl(121, 64%, 25%) |
| HSV | hsv(121, 78%, 41%) |
| CMYK | cmyk(77.9%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.11, -40.20, 36.18) |
| CIE-LCH | lch(38.11, 54.08, 138.01°) |
| OKLab | oklab(45.32% -0.1091 0.0821) |
| OKLCH | oklch(45.32% 0.136 143) |
| XYZ | xyz(5.4682, 10.1481, 2.5346) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.54
Deep Green
#02590F
ΔE00 4.92
Forest
#0B5509
ΔE00 6.07
Forest Green
#2D5A27
ΔE00 6.74
Darkish Green
#287C37
ΔE00 7.44
Tree Green
#2A7E19
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176818 #681767
analogous
#3E6817 #176818 #176841
triadic
#176818 #181768 #681817
tetradic
#176818 #173E68 #681767 #684117
square
#176818 #173E68 #681767 #684117
split-complementary
#176818 #411768 #68173E
monochromatic
#061906 #0C360C #176818 #229A24 #2DCC2F
Accessibility & contrast
On white
6.93
#176818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#176818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176818
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176818 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #176818; /* rgb */ color: rgb(23, 104, 24); /* oklch */ color: oklch(45.3% 0.136 143.0);
Tailwind
colors: {
custom: {
50: '#63945a',
500: '#176818',
950: '#000000',
},
}SCSS
$custom: #176818; $custom-light: #63945a; $custom-dark: #000000;
JSON
{
"hex": "#176818",
"rgb": {
"r": 23,
"g": 104,
"b": 24
},
"hsl": {
"h": 120.741,
"s": 63.78,
"l": 24.902
},
"oklch": {
"l": 0.45324,
"c": 0.13649,
"h": 143
},
"luminance": 0.10149
}Semantic roles & 50–950 ramp
primary
#176818
secondary
#9E3D9D
accent
#41E5E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79