#166628#166628
#166628 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.121 H 146.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #166628 |
|---|---|
| RGB | rgb(22, 102, 40) |
| HSL | hsl(134, 65%, 24%) |
| HSV | hsv(134, 78%, 40%) |
| CMYK | cmyk(78.4%, 0%, 60.8%, 60%) |
| CIE-LAB | lab(37.53, -37.74, 28.01) |
| CIE-LCH | lch(37.53, 47.00, 143.42°) |
| OKLab | oklab(44.89% -0.1016 0.0665) |
| OKLCH | oklch(44.89% 0.121 146.8) |
| XYZ | xyz(5.4648, 9.8259, 3.6156) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.93
Forest Green
#2D5A27
ΔE00 5.20
Darkgreen
#006400
ΔE00 5.20
Pine
#2B5D34
ΔE00 5.57
Spruce
#0A5F38
ΔE00 5.94
Forest
#0B5509
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166628 #661654
analogous
#2C6616 #166628 #166650
triadic
#166628 #281666 #662816
tetradic
#166628 #162C66 #661654 #665016
square
#166628 #162C66 #661654 #665016
split-complementary
#166628 #501666 #66162C
monochromatic
#05190A #0B3414 #166628 #21983C #2CCB4F
Accessibility & contrast
On white
7.08
#166628 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#166628 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166628
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166628 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C22
Deuteranopia (green-blind)
#5E562D
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #166628; /* rgb */ color: rgb(22, 102, 40); /* oklch */ color: oklch(44.9% 0.121 146.8);
Tailwind
colors: {
custom: {
50: '#619264',
500: '#166628',
950: '#000000',
},
}SCSS
$custom: #166628; $custom-light: #619264; $custom-dark: #000000;
JSON
{
"hex": "#166628",
"rgb": {
"r": 22,
"g": 102,
"b": 40
},
"hsl": {
"h": 133.5,
"s": 64.516,
"l": 24.314
},
"oklch": {
"l": 0.44888,
"c": 0.12147,
"h": 146.8
},
"luminance": 0.09827
}Semantic roles & 50–950 ramp
primary
#166628
secondary
#9D3B87
accent
#40C2E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A