#166829#166829
#166829 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.123 H 146.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #166829 |
|---|---|
| RGB | rgb(22, 104, 41) |
| HSL | hsl(134, 65%, 25%) |
| HSV | hsv(134, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 60.6%, 59.2%) |
| CIE-LAB | lab(38.25, -38.36, 28.34) |
| CIE-LCH | lch(38.25, 47.69, 143.54°) |
| OKLab | oklab(45.49% -0.1033 0.0673) |
| OKLCH | oklch(45.49% 0.123 146.9) |
| XYZ | xyz(5.6810, 10.2306, 3.7727) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.25
Deep Green
#02590F
ΔE00 5.45
Forest Green
#2D5A27
ΔE00 5.74
Pine
#2B5D34
ΔE00 6.00
Spruce
#0A5F38
ΔE00 6.29
Forest
#0B5509
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166829 #681655
analogous
#2C6816 #166829 #166852
triadic
#166829 #291668 #682916
tetradic
#166829 #162C68 #681655 #685216
square
#166829 #162C68 #681655 #685216
split-complementary
#166829 #521668 #68162C
monochromatic
#05190A #0B3515 #166829 #219B3D #2BCD51
Accessibility & contrast
On white
6.89
#166829 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#166829 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166829
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166829 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166829 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E23
Deuteranopia (green-blind)
#60572E
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166829; /* rgb */ color: rgb(22, 104, 41); /* oklch */ color: oklch(45.5% 0.123 146.9);
Tailwind
colors: {
custom: {
50: '#629465',
500: '#166829',
950: '#000000',
},
}SCSS
$custom: #166829; $custom-light: #629465; $custom-dark: #000000;
JSON
{
"hex": "#166829",
"rgb": {
"r": 22,
"g": 104,
"b": 41
},
"hsl": {
"h": 133.902,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45493,
"c": 0.12328,
"h": 146.9
},
"luminance": 0.10231
}Semantic roles & 50–950 ramp
primary
#166829
secondary
#9F3B88
accent
#40C1E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A