#166712#166712
#166712 is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.139 H 142.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #166712 |
|---|---|
| RGB | rgb(22, 103, 18) |
| HSL | hsl(117, 70%, 24%) |
| HSV | hsv(117, 83%, 40%) |
| CMYK | cmyk(78.6%, 0%, 82.5%, 59.6%) |
| CIE-LAB | lab(37.69, -40.51, 38.03) |
| CIE-LCH | lch(37.69, 55.57, 136.81°) |
| OKLab | oklab(44.96% -0.1102 0.085) |
| OKLCH | oklch(44.96% 0.139 142.3) |
| XYZ | xyz(5.2900, 9.9141, 2.2070) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 1.85
Deep Green
#02590F
ΔE00 4.75
Forest
#0B5509
ΔE00 5.79
Forest Green
#2D5A27
ΔE00 6.95
Darkish Green
#287C37
ΔE00 8.02
Tree Green
#2A7E19
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166712 #631267
analogous
#406712 #166712 #126738
triadic
#166712 #121667 #671216
tetradic
#166712 #124067 #631267 #673812
square
#166712 #124067 #631267 #673812
split-complementary
#166712 #381267 #671240
monochromatic
#061A05 #0B3309 #166712 #219B1B #2CCF24
Accessibility & contrast
On white
7.04
#166712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#166712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166712
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166712 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166712; /* rgb */ color: rgb(22, 103, 18); /* oklch */ color: oklch(45.0% 0.139 142.3);
Tailwind
colors: {
custom: {
50: '#639357',
500: '#166712',
950: '#000000',
},
}SCSS
$custom: #166712; $custom-light: #639357; $custom-dark: #000000;
JSON
{
"hex": "#166712",
"rgb": {
"r": 22,
"g": 103,
"b": 18
},
"hsl": {
"h": 117.176,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.44957,
"c": 0.13917,
"h": 142.3
},
"luminance": 0.09915
}Semantic roles & 50–950 ramp
primary
#166712
secondary
#9A369F
accent
#3BEDE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78