#166529#166529
#166529 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.6% C 0.119 H 147.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #166529 |
|---|---|
| RGB | rgb(22, 101, 41) |
| HSL | hsl(134, 64%, 24%) |
| HSV | hsv(134, 78%, 40%) |
| CMYK | cmyk(78.2%, 0%, 59.4%, 60.4%) |
| CIE-LAB | lab(37.18, -37.21, 27.07) |
| CIE-LCH | lch(37.18, 46.01, 143.97°) |
| OKLab | oklab(44.61% -0.1002 0.0646) |
| OKLCH | oklch(44.61% 0.119 147.2) |
| XYZ | xyz(5.3844, 9.6374, 3.6738) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.87
Forest Green
#2D5A27
ΔE00 4.91
Pine
#2B5D34
ΔE00 5.15
Spruce
#0A5F38
ΔE00 5.49
Darkgreen
#006400
ΔE00 5.52
Forest
#0B5509
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166529 #651652
analogous
#2B6516 #166529 #166551
triadic
#166529 #291665 #652916
tetradic
#166529 #162B65 #651652 #655116
square
#166529 #162B65 #651652 #655116
split-complementary
#166529 #511665 #65162B
monochromatic
#05190A #0B3315 #166529 #21973D #2CCA52
Accessibility & contrast
On white
7.17
#166529 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#166529 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166529
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166529 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166529 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665B23
Deuteranopia (green-blind)
#5D552E
Tritanopia (blue-blind)
#006358
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #166529; /* rgb */ color: rgb(22, 101, 41); /* oklch */ color: oklch(44.6% 0.119 147.2);
Tailwind
colors: {
custom: {
50: '#619264',
500: '#166529',
950: '#000000',
},
}SCSS
$custom: #166529; $custom-light: #619264; $custom-dark: #000000;
JSON
{
"hex": "#166529",
"rgb": {
"r": 22,
"g": 101,
"b": 41
},
"hsl": {
"h": 134.43,
"s": 64.228,
"l": 24.118
},
"oklch": {
"l": 0.44607,
"c": 0.11918,
"h": 147.2
},
"luminance": 0.09638
}Semantic roles & 50–950 ramp
primary
#166529
secondary
#9C3B84
accent
#41BFE7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A