#166C2A#166C2A
#166C2A is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.128 H 146.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #166C2A |
|---|---|
| RGB | rgb(22, 108, 42) |
| HSL | hsl(134, 66%, 25%) |
| HSV | hsv(134, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 61.1%, 57.6%) |
| CIE-LAB | lab(39.68, -39.72, 29.50) |
| CIE-LCH | lch(39.68, 49.48, 143.39°) |
| OKLab | oklab(46.68% -0.1069 0.07) |
| OKLCH | oklch(46.68% 0.128 146.8) |
| XYZ | xyz(6.1109, 11.0621, 4.0032) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.42
Darkish Green
#287C37
ΔE00 5.63
Deep Green
#02590F
ΔE00 6.51
Forest Green
#2D5A27
ΔE00 6.90
Pine
#2B5D34
ΔE00 7.09
Spruce
#0A5F38
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C2A #6C1658
analogous
#2D6C16 #166C2A #166C55
triadic
#166C2A #2A166C #6C2A16
tetradic
#166C2A #162D6C #6C1658 #6C5516
square
#166C2A #162D6C #6C1658 #6C5516
split-complementary
#166C2A #55166C #6C162D
monochromatic
#05190A #0C3916 #166C2A #209F3E #2BD252
Accessibility & contrast
On white
6.54
#166C2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#166C2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C2A
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C2A | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6223
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c2a; /* rgb */ color: rgb(22, 108, 42); /* oklch */ color: oklch(46.7% 0.128 146.8);
Tailwind
colors: {
custom: {
50: '#639766',
500: '#166c2a',
950: '#000000',
},
}SCSS
$custom: #166c2a; $custom-light: #639766; $custom-dark: #000000;
JSON
{
"hex": "#166c2a",
"rgb": {
"r": 22,
"g": 108,
"b": 42
},
"hsl": {
"h": 133.953,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46684,
"c": 0.12777,
"h": 146.8
},
"luminance": 0.11063
}Semantic roles & 50–950 ramp
primary
#166C2A
secondary
#A23C8A
accent
#3FC1E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A