#166520#166520
#166520 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.5% C 0.127 H 144.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #166520 |
|---|---|
| RGB | rgb(22, 101, 32) |
| HSL | hsl(128, 64%, 24%) |
| HSV | hsv(128, 78%, 40%) |
| CMYK | cmyk(78.2%, 0%, 68.3%, 60.4%) |
| CIE-LAB | lab(37.08, -38.44, 31.52) |
| CIE-LCH | lch(37.08, 49.71, 140.65°) |
| OKLab | oklab(44.49% -0.1038 0.0733) |
| OKLCH | oklch(44.49% 0.127 144.8) |
| XYZ | xyz(5.2449, 9.5816, 2.9392) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Deep Green
#02590F
ΔE00 4.06
Forest Green
#2D5A27
ΔE00 5.32
Forest
#0B5509
ΔE00 5.34
Pine
#2B5D34
ΔE00 6.46
Spruce
#0A5F38
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166520 #65165B
analogous
#346516 #166520 #166548
triadic
#166520 #201665 #652016
tetradic
#166520 #163465 #65165B #654816
square
#166520 #163465 #65165B #654816
split-complementary
#166520 #481665 #651634
monochromatic
#051908 #0B3310 #166520 #219730 #2CCA40
Accessibility & contrast
On white
7.20
#166520 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#166520 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166520
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166520 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #166520; /* rgb */ color: rgb(22, 101, 32); /* oklch */ color: oklch(44.5% 0.127 144.8);
Tailwind
colors: {
custom: {
50: '#62925f',
500: '#166520',
950: '#000000',
},
}SCSS
$custom: #166520; $custom-light: #62925f; $custom-dark: #000000;
JSON
{
"hex": "#166520",
"rgb": {
"r": 22,
"g": 101,
"b": 32
},
"hsl": {
"h": 127.595,
"s": 64.228,
"l": 24.118
},
"oklch": {
"l": 0.44488,
"c": 0.1271,
"h": 144.8
},
"luminance": 0.09582
}Semantic roles & 50–950 ramp
primary
#166520
secondary
#9C3B8F
accent
#41D2E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79