#166534#166534
#166534 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.108 H 151.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #166534 |
|---|---|
| RGB | rgb(22, 101, 52) |
| HSL | hsl(143, 64%, 24%) |
| HSV | hsv(143, 78%, 40%) |
| CMYK | cmyk(78.2%, 0%, 48.5%, 60.4%) |
| CIE-LAB | lab(37.34, -35.33, 21.17) |
| CIE-LCH | lch(37.34, 41.19, 149.06°) |
| OKLab | oklab(44.79% -0.095 0.052) |
| OKLCH | oklch(44.79% 0.108 151.3) |
| XYZ | xyz(5.6039, 9.7252, 4.8300) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.23
Pine
#2B5D34
ΔE00 3.94
Forest Green
#2D5A27
ΔE00 5.37
Hunter Green
#355E3B
ΔE00 5.59
Deep Green
#02590F
ΔE00 6.74
Forest
#0B5509
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166534 #651647
analogous
#206516 #166534 #16655C
triadic
#166534 #341665 #653416
tetradic
#166534 #162065 #651647 #655C16
square
#166534 #162065 #651647 #655C16
split-complementary
#166534 #5C1665 #651620
monochromatic
#05190D #0B331A #166534 #21974E #2CCA68
Accessibility & contrast
On white
7.13
#166534 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#166534 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166534
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166534 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166534 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655C30
Deuteranopia (green-blind)
#5C5537
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #166534; /* rgb */ color: rgb(22, 101, 52); /* oklch */ color: oklch(44.8% 0.108 151.3);
Tailwind
colors: {
custom: {
50: '#61926c',
500: '#166534',
950: '#000000',
},
}SCSS
$custom: #166534; $custom-light: #61926c; $custom-dark: #000000;
JSON
{
"hex": "#166534",
"rgb": {
"r": 22,
"g": 101,
"b": 52
},
"hsl": {
"h": 142.785,
"s": 64.228,
"l": 24.118
},
"oklch": {
"l": 0.44792,
"c": 0.10832,
"h": 151.3
},
"luminance": 0.09726
}Semantic roles & 50–950 ramp
primary
#166534
secondary
#9C3B77
accent
#41A8E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A