#166839#166839
#166839 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.108 H 152.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #166839 |
|---|---|
| RGB | rgb(22, 104, 57) |
| HSL | hsl(146, 65%, 25%) |
| HSV | hsv(146, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 45.2%, 59.2%) |
| CIE-LAB | lab(38.49, -35.58, 19.78) |
| CIE-LCH | lch(38.49, 40.71, 150.93°) |
| OKLab | oklab(45.77% -0.0958 0.0489) |
| OKLCH | oklch(45.77% 0.108 152.9) |
| XYZ | xyz(6.0192, 10.3659, 5.5537) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.48
Pine
#2B5D34
ΔE00 4.61
Hunter Green
#355E3B
ΔE00 5.88
Forest Green
#2D5A27
ΔE00 6.39
Deep Green
#02590F
ΔE00 7.90
Darkish Green
#287C37
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166839 #681645
analogous
#1C6816 #166839 #166862
triadic
#166839 #391668 #683916
tetradic
#166839 #161C68 #681645 #686216
square
#166839 #161C68 #681645 #686216
split-complementary
#166839 #621668 #68161C
monochromatic
#05190E #0B351D #166839 #219B55 #2BCD70
Accessibility & contrast
On white
6.83
#166839 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#166839 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166839
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166839 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166839 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#5E583C
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166839; /* rgb */ color: rgb(22, 104, 57); /* oklch */ color: oklch(45.8% 0.108 152.9);
Tailwind
colors: {
custom: {
50: '#619470',
500: '#166839',
950: '#000000',
},
}SCSS
$custom: #166839; $custom-light: #619470; $custom-dark: #000000;
JSON
{
"hex": "#166839",
"rgb": {
"r": 22,
"g": 104,
"b": 57
},
"hsl": {
"h": 145.61,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45767,
"c": 0.10755,
"h": 152.9
},
"luminance": 0.10367
}Semantic roles & 50–950 ramp
primary
#166839
secondary
#9F3B74
accent
#40A0E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A