#166833#166833
#166833 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.114 H 150.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #166833 |
|---|---|
| RGB | rgb(22, 104, 51) |
| HSL | hsl(141, 65%, 25%) |
| HSV | hsv(141, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 51%, 59.2%) |
| CIE-LAB | lab(38.39, -36.72, 23.07) |
| CIE-LCH | lch(38.39, 43.37, 147.86°) |
| OKLab | oklab(45.65% -0.0987 0.0563) |
| OKLCH | oklch(45.65% 0.114 150.3) |
| XYZ | xyz(5.8782, 10.3095, 4.8115) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.44
Pine
#2B5D34
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.87
Hunter Green
#355E3B
ΔE00 6.43
Deep Green
#02590F
ΔE00 6.78
Darkish Green
#287C37
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166833 #68164B
analogous
#226816 #166833 #16685C
triadic
#166833 #331668 #683316
tetradic
#166833 #162268 #68164B #685C16
square
#166833 #162268 #68164B #685C16
split-complementary
#166833 #5C1668 #681622
monochromatic
#05190C #0B351A #166833 #219B4C #2BCD65
Accessibility & contrast
On white
6.86
#166833 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#166833 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166833
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166833 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166833 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E2F
Deuteranopia (green-blind)
#5F5837
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166833; /* rgb */ color: rgb(22, 104, 51); /* oklch */ color: oklch(45.7% 0.114 150.3);
Tailwind
colors: {
custom: {
50: '#62946b',
500: '#166833',
950: '#000000',
},
}SCSS
$custom: #166833; $custom-light: #62946b; $custom-dark: #000000;
JSON
{
"hex": "#166833",
"rgb": {
"r": 22,
"g": 104,
"b": 51
},
"hsl": {
"h": 141.22,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45653,
"c": 0.11363,
"h": 150.3
},
"luminance": 0.1031
}Semantic roles & 50–950 ramp
primary
#166833
secondary
#9F3B7B
accent
#40ADE8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A