#166835#166835
#166835 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.112 H 151.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #166835 |
|---|---|
| RGB | rgb(22, 104, 53) |
| HSL | hsl(143, 65%, 25%) |
| HSV | hsv(143, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 49%, 59.2%) |
| CIE-LAB | lab(38.42, -36.35, 21.98) |
| CIE-LCH | lch(38.42, 42.48, 148.84°) |
| OKLab | oklab(45.69% -0.0978 0.0539) |
| OKLCH | oklch(45.69% 0.112 151.1) |
| XYZ | xyz(5.9233, 10.3276, 5.0487) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.09
Pine
#2B5D34
ΔE00 4.75
Forest Green
#2D5A27
ΔE00 6.01
Hunter Green
#355E3B
ΔE00 6.22
Deep Green
#02590F
ΔE00 7.13
Darkish Green
#287C37
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166835 #681649
analogous
#206816 #166835 #16685E
triadic
#166835 #351668 #683516
tetradic
#166835 #162068 #681649 #685E16
square
#166835 #162068 #681649 #685E16
split-complementary
#166835 #5E1668 #681620
monochromatic
#05190D #0B351B #166835 #219B4F #2BCD68
Accessibility & contrast
On white
6.85
#166835 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#166835 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166835
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166835 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166835 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F31
Deuteranopia (green-blind)
#5F5839
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166835; /* rgb */ color: rgb(22, 104, 53); /* oklch */ color: oklch(45.7% 0.112 151.1);
Tailwind
colors: {
custom: {
50: '#61946d',
500: '#166835',
950: '#000000',
},
}SCSS
$custom: #166835; $custom-light: #61946d; $custom-dark: #000000;
JSON
{
"hex": "#166835",
"rgb": {
"r": 22,
"g": 104,
"b": 53
},
"hsl": {
"h": 142.683,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.4569,
"c": 0.11162,
"h": 151.1
},
"luminance": 0.10328
}Semantic roles & 50–950 ramp
primary
#166835
secondary
#9F3B79
accent
#40A8E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A