#166838#166838
#166838 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.7% C 0.109 H 152.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #166838 |
|---|---|
| RGB | rgb(22, 104, 56) |
| HSL | hsl(145, 65%, 25%) |
| HSV | hsv(145, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 46.2%, 59.2%) |
| CIE-LAB | lab(38.47, -35.78, 20.33) |
| CIE-LCH | lch(38.47, 41.15, 150.39°) |
| OKLab | oklab(45.75% -0.0963 0.0502) |
| OKLCH | oklch(45.75% 0.109 152.5) |
| XYZ | xyz(5.9945, 10.3560, 5.4236) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.62
Pine
#2B5D34
ΔE00 4.62
Hunter Green
#355E3B
ΔE00 5.95
Forest Green
#2D5A27
ΔE00 6.28
Deep Green
#02590F
ΔE00 7.70
Darkish Green
#287C37
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166838 #681646
analogous
#1D6816 #166838 #166861
triadic
#166838 #381668 #683816
tetradic
#166838 #161D68 #681646 #686116
square
#166838 #161D68 #681646 #686116
split-complementary
#166838 #611668 #68161D
monochromatic
#05190E #0B351D #166838 #219B53 #2BCD6E
Accessibility & contrast
On white
6.84
#166838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#166838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166838
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166838 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F34
Deuteranopia (green-blind)
#5E583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166838; /* rgb */ color: rgb(22, 104, 56); /* oklch */ color: oklch(45.7% 0.109 152.5);
Tailwind
colors: {
custom: {
50: '#61946f',
500: '#166838',
950: '#000000',
},
}SCSS
$custom: #166838; $custom-light: #61946f; $custom-dark: #000000;
JSON
{
"hex": "#166838",
"rgb": {
"r": 22,
"g": 104,
"b": 56
},
"hsl": {
"h": 144.878,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45747,
"c": 0.10857,
"h": 152.5
},
"luminance": 0.10357
}Semantic roles & 50–950 ramp
primary
#166838
secondary
#9F3B75
accent
#40A2E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A