#166A0F#166A0F
#166A0F is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.144 H 142.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #166A0F |
|---|---|
| RGB | rgb(22, 106, 15) |
| HSL | hsl(115, 75%, 24%) |
| HSV | hsv(115, 86%, 42%) |
| CMYK | cmyk(79.2%, 0%, 85.8%, 58.4%) |
| CIE-LAB | lab(38.75, -41.76, 40.02) |
| CIE-LCH | lch(38.75, 57.84, 136.22°) |
| OKLab | oklab(45.83% -0.1137 0.0887) |
| OKLCH | oklch(45.83% 0.144 142) |
| XYZ | xyz(5.5708, 10.5125, 2.1874) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.26
Deep Green
#02590F
ΔE00 5.84
Forest
#0B5509
ΔE00 6.85
Tree Green
#2A7E19
ΔE00 7.01
Darkish Green
#287C37
ΔE00 7.48
Green
#008000
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A0F #630F6A
analogous
#436A0F #166A0F #0F6A35
triadic
#166A0F #0F166A #6A0F16
tetradic
#166A0F #0F436A #630F6A #6A350F
square
#166A0F #0F436A #630F6A #6A350F
split-complementary
#166A0F #350F6A #6A0F43
monochromatic
#061B04 #0B3407 #166A0F #21A017 #2CD51E
Accessibility & contrast
On white
6.77
#166A0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#166A0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A0F
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A0F | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166a0f; /* rgb */ color: rgb(22, 106, 15); /* oklch */ color: oklch(45.8% 0.144 142.0);
Tailwind
colors: {
custom: {
50: '#649657',
500: '#166a0f',
950: '#000000',
},
}SCSS
$custom: #166a0f; $custom-light: #649657; $custom-dark: #000000;
JSON
{
"hex": "#166a0f",
"rgb": {
"r": 22,
"g": 106,
"b": 15
},
"hsl": {
"h": 115.385,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.45832,
"c": 0.14421,
"h": 142
},
"luminance": 0.10513
}Semantic roles & 50–950 ramp
primary
#166A0F
secondary
#9A32A2
accent
#36F2E3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D03
muted
#7A7E78