#166B34#166B34
#166B34 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.5% C 0.117 H 150.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #166B34 |
|---|---|
| RGB | rgb(22, 107, 52) |
| HSL | hsl(141, 66%, 25%) |
| HSV | hsv(141, 79%, 42%) |
| CMYK | cmyk(79.4%, 0%, 51.4%, 58%) |
| CIE-LAB | lab(39.47, -37.73, 23.87) |
| CIE-LCH | lch(39.47, 44.64, 147.68°) |
| OKLab | oklab(46.55% -0.1014 0.0581) |
| OKLCH | oklch(46.55% 0.117 150.2) |
| XYZ | xyz(6.2079, 10.9332, 5.0313) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.32
Pine
#2B5D34
ΔE00 5.77
Darkish Green
#287C37
ΔE00 6.37
Forest Green
#2D5A27
ΔE00 6.64
Hunter Green
#355E3B
ΔE00 7.14
Deep Green
#02590F
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166B34 #6B164D
analogous
#236B16 #166B34 #166B5E
triadic
#166B34 #34166B #6B3416
tetradic
#166B34 #16236B #6B164D #6B5E16
square
#166B34 #16236B #6B164D #6B5E16
split-complementary
#166B34 #5E166B #6B1623
monochromatic
#05190C #0C381B #166B34 #209E4D #2BD165
Accessibility & contrast
On white
6.59
#166B34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#166B34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166B34
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166B34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166B34 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6130
Deuteranopia (green-blind)
#625A38
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166b34; /* rgb */ color: rgb(22, 107, 52); /* oklch */ color: oklch(46.5% 0.117 150.2);
Tailwind
colors: {
custom: {
50: '#62966c',
500: '#166b34',
950: '#000000',
},
}SCSS
$custom: #166b34; $custom-light: #62966c; $custom-dark: #000000;
JSON
{
"hex": "#166b34",
"rgb": {
"r": 22,
"g": 107,
"b": 52
},
"hsl": {
"h": 141.176,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.46548,
"c": 0.11687,
"h": 150.2
},
"luminance": 0.10934
}Semantic roles & 50–950 ramp
primary
#166B34
secondary
#A13B7D
accent
#3FADE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D07
muted
#7A7E7A