#166A2A#166A2A
#166A2A is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.125 H 147.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #166A2A |
|---|---|
| RGB | rgb(22, 106, 42) |
| HSL | hsl(134, 66%, 25%) |
| HSV | hsv(134, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 60.4%, 58.4%) |
| CIE-LAB | lab(38.98, -38.97, 28.67) |
| CIE-LCH | lch(38.98, 48.38, 143.66°) |
| OKLab | oklab(46.1% -0.1049 0.0681) |
| OKLCH | oklch(46.1% 0.125 147) |
| XYZ | xyz(5.9024, 10.6451, 3.9337) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.39
Deep Green
#02590F
ΔE00 6.01
Darkish Green
#287C37
ΔE00 6.28
Forest Green
#2D5A27
ΔE00 6.30
Pine
#2B5D34
ΔE00 6.48
Spruce
#0A5F38
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A2A #6A1656
analogous
#2C6A16 #166A2A #166A54
triadic
#166A2A #2A166A #6A2A16
tetradic
#166A2A #162C6A #6A1656 #6A5416
square
#166A2A #162C6A #6A1656 #6A5416
split-complementary
#166A2A #54166A #6A162C
monochromatic
#05190A #0B3716 #166A2A #219D3E #2BCF52
Accessibility & contrast
On white
6.71
#166A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#166A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A2A
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A2A | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6024
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #166a2a; /* rgb */ color: rgb(22, 106, 42); /* oklch */ color: oklch(46.1% 0.125 147.0);
Tailwind
colors: {
custom: {
50: '#629565',
500: '#166a2a',
950: '#000000',
},
}SCSS
$custom: #166a2a; $custom-light: #629565; $custom-dark: #000000;
JSON
{
"hex": "#166a2a",
"rgb": {
"r": 22,
"g": 106,
"b": 42
},
"hsl": {
"h": 134.286,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.46096,
"c": 0.12507,
"h": 147
},
"luminance": 0.10646
}Semantic roles & 50–950 ramp
primary
#166A2A
secondary
#A03B88
accent
#3FC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A