#166526#166526
#166526 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.122 H 146.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #166526 |
|---|---|
| RGB | rgb(22, 101, 38) |
| HSL | hsl(132, 64%, 24%) |
| HSV | hsv(132, 78%, 40%) |
| CMYK | cmyk(78.2%, 0%, 62.4%, 60.4%) |
| CIE-LAB | lab(37.15, -37.65, 28.60) |
| CIE-LCH | lch(37.15, 47.28, 142.78°) |
| OKLab | oklab(44.56% -0.1015 0.0676) |
| OKLCH | oklch(44.56% 0.122 146.3) |
| XYZ | xyz(5.3340, 9.6173, 3.4085) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.52
Darkgreen
#006400
ΔE00 4.90
Forest Green
#2D5A27
ΔE00 4.99
Pine
#2B5D34
ΔE00 5.58
Forest
#0B5509
ΔE00 5.80
Spruce
#0A5F38
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166526 #651655
analogous
#2E6516 #166526 #16654E
triadic
#166526 #261665 #652616
tetradic
#166526 #162E65 #651655 #654E16
square
#166526 #162E65 #651655 #654E16
split-complementary
#166526 #4E1665 #65162E
monochromatic
#051909 #0B3313 #166526 #219739 #2CCA4C
Accessibility & contrast
On white
7.18
#166526 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#166526 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166526
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166526 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665B20
Deuteranopia (green-blind)
#5D552B
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #166526; /* rgb */ color: rgb(22, 101, 38); /* oklch */ color: oklch(44.6% 0.122 146.3);
Tailwind
colors: {
custom: {
50: '#619262',
500: '#166526',
950: '#000000',
},
}SCSS
$custom: #166526; $custom-light: #619262; $custom-dark: #000000;
JSON
{
"hex": "#166526",
"rgb": {
"r": 22,
"g": 101,
"b": 38
},
"hsl": {
"h": 132.152,
"s": 64.228,
"l": 24.118
},
"oklch": {
"l": 0.44564,
"c": 0.12194,
"h": 146.3
},
"luminance": 0.09618
}Semantic roles & 50–950 ramp
primary
#166526
secondary
#9C3B88
accent
#41C5E7
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79