#176918#176918
#176918 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.138 H 143.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #176918 |
|---|---|
| RGB | rgb(23, 105, 24) |
| HSL | hsl(121, 64%, 25%) |
| HSV | hsv(121, 78%, 41%) |
| CMYK | cmyk(78.1%, 0%, 77.1%, 58.8%) |
| CIE-LAB | lab(38.46, -40.56, 36.55) |
| CIE-LCH | lch(38.46, 54.59, 137.98°) |
| OKLab | oklab(45.62% -0.11 0.0828) |
| OKLCH | oklch(45.62% 0.138 143) |
| XYZ | xyz(5.5694, 10.3506, 2.5683) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.65
Deep Green
#02590F
ΔE00 5.25
Forest
#0B5509
ΔE00 6.39
Forest Green
#2D5A27
ΔE00 7.02
Darkish Green
#287C37
ΔE00 7.18
Tree Green
#2A7E19
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176918 #691768
analogous
#3F6917 #176918 #176941
triadic
#176918 #181769 #691817
tetradic
#176918 #173F69 #691768 #694117
square
#176918 #173F69 #691768 #694117
split-complementary
#176918 #411769 #69173F
monochromatic
#051906 #0C370D #176918 #229B23 #2DCD2F
Accessibility & contrast
On white
6.84
#176918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#176918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #176918
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176918 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #176918; /* rgb */ color: rgb(23, 105, 24); /* oklch */ color: oklch(45.6% 0.138 143.0);
Tailwind
colors: {
custom: {
50: '#63955b',
500: '#176918',
950: '#000000',
},
}SCSS
$custom: #176918; $custom-light: #63955b; $custom-dark: #000000;
JSON
{
"hex": "#176918",
"rgb": {
"r": 23,
"g": 105,
"b": 24
},
"hsl": {
"h": 120.732,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.45621,
"c": 0.13772,
"h": 143
},
"luminance": 0.10351
}Semantic roles & 50–950 ramp
primary
#176918
secondary
#9F3D9E
accent
#41E5E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79