#166531#166531
#166531 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.7% C 0.111 H 150.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #166531 |
|---|---|
| RGB | rgb(22, 101, 49) |
| HSL | hsl(141, 64%, 24%) |
| HSV | hsv(141, 78%, 40%) |
| CMYK | cmyk(78.2%, 0%, 51.5%, 60.4%) |
| CIE-LAB | lab(37.30, -35.88, 22.82) |
| CIE-LCH | lch(37.30, 42.52, 147.55°) |
| OKLab | oklab(44.74% -0.0965 0.0556) |
| OKLCH | oklch(44.74% 0.111 150.1) |
| XYZ | xyz(5.5385, 9.6990, 4.4853) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.84
Pine
#2B5D34
ΔE00 4.17
Forest Green
#2D5A27
ΔE00 5.11
Hunter Green
#355E3B
ΔE00 5.93
Deep Green
#02590F
ΔE00 6.15
Forest
#0B5509
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166531 #65164A
analogous
#236516 #166531 #166559
triadic
#166531 #311665 #653116
tetradic
#166531 #162365 #65164A #655916
square
#166531 #162365 #65164A #655916
split-complementary
#166531 #591665 #651623
monochromatic
#05190C #0B3319 #166531 #219749 #2CCA62
Accessibility & contrast
On white
7.14
#166531 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#166531 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166531
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166531 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665C2D
Deuteranopia (green-blind)
#5C5535
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #166531; /* rgb */ color: rgb(22, 101, 49); /* oklch */ color: oklch(44.7% 0.111 150.1);
Tailwind
colors: {
custom: {
50: '#61926a',
500: '#166531',
950: '#000000',
},
}SCSS
$custom: #166531; $custom-light: #61926a; $custom-dark: #000000;
JSON
{
"hex": "#166531",
"rgb": {
"r": 22,
"g": 101,
"b": 49
},
"hsl": {
"h": 140.506,
"s": 64.228,
"l": 24.118
},
"oklch": {
"l": 0.44737,
"c": 0.11137,
"h": 150.1
},
"luminance": 0.097
}Semantic roles & 50–950 ramp
primary
#166531
secondary
#9C3B7B
accent
#41AEE7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A