#166A35#166A35
#166A35 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.114 H 150.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #166A35 |
|---|---|
| RGB | rgb(22, 106, 53) |
| HSL | hsl(142, 66%, 25%) |
| HSV | hsv(142, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 50%, 58.4%) |
| CIE-LAB | lab(39.13, -37.15, 22.88) |
| CIE-LCH | lch(39.13, 43.63, 148.37°) |
| OKLab | oklab(46.27% -0.0999 0.0559) |
| OKLCH | oklch(46.27% 0.114 150.8) |
| XYZ | xyz(6.1270, 10.7350, 5.1166) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.81
Pine
#2B5D34
ΔE00 5.38
Forest Green
#2D5A27
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.76
Darkish Green
#287C37
ΔE00 6.82
Deep Green
#02590F
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A35 #6A164B
analogous
#216A16 #166A35 #166A5F
triadic
#166A35 #35166A #6A3516
tetradic
#166A35 #16216A #6A164B #6A5F16
square
#166A35 #16216A #6A164B #6A5F16
split-complementary
#166A35 #5F166A #6A1621
monochromatic
#05190D #0B371C #166A35 #219D4E #2BCF68
Accessibility & contrast
On white
6.67
#166A35 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#166A35 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A35
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A35 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A35 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6031
Deuteranopia (green-blind)
#615939
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #166a35; /* rgb */ color: rgb(22, 106, 53); /* oklch */ color: oklch(46.3% 0.114 150.8);
Tailwind
colors: {
custom: {
50: '#62956d',
500: '#166a35',
950: '#000000',
},
}SCSS
$custom: #166a35; $custom-light: #62956d; $custom-dark: #000000;
JSON
{
"hex": "#166a35",
"rgb": {
"r": 22,
"g": 106,
"b": 53
},
"hsl": {
"h": 142.143,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.46274,
"c": 0.11446,
"h": 150.8
},
"luminance": 0.10736
}Semantic roles & 50–950 ramp
primary
#166A35
secondary
#A03B7B
accent
#3FAAE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D07
muted
#7A7E7A