#166834#166834
#166834 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.113 H 150.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #166834 |
|---|---|
| RGB | rgb(22, 104, 52) |
| HSL | hsl(142, 65%, 25%) |
| HSV | hsv(142, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 50%, 59.2%) |
| CIE-LAB | lab(38.41, -36.54, 22.53) |
| CIE-LCH | lch(38.41, 42.92, 148.34°) |
| OKLab | oklab(45.67% -0.0982 0.0551) |
| OKLCH | oklch(45.67% 0.113 150.7) |
| XYZ | xyz(5.9005, 10.3184, 4.9288) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.27
Pine
#2B5D34
ΔE00 4.82
Forest Green
#2D5A27
ΔE00 5.93
Hunter Green
#355E3B
ΔE00 6.32
Deep Green
#02590F
ΔE00 6.95
Darkish Green
#287C37
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166834 #68164A
analogous
#216816 #166834 #16685D
triadic
#166834 #341668 #683416
tetradic
#166834 #162168 #68164A #685D16
square
#166834 #162168 #68164A #685D16
split-complementary
#166834 #5D1668 #681621
monochromatic
#05190D #0B351B #166834 #219B4D #2BCD67
Accessibility & contrast
On white
6.85
#166834 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#166834 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166834
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166834 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166834 | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E30
Deuteranopia (green-blind)
#5F5838
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166834; /* rgb */ color: rgb(22, 104, 52); /* oklch */ color: oklch(45.7% 0.113 150.7);
Tailwind
colors: {
custom: {
50: '#62946c',
500: '#166834',
950: '#000000',
},
}SCSS
$custom: #166834; $custom-light: #62946c; $custom-dark: #000000;
JSON
{
"hex": "#166834",
"rgb": {
"r": 22,
"g": 104,
"b": 52
},
"hsl": {
"h": 141.951,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45671,
"c": 0.11262,
"h": 150.7
},
"luminance": 0.10319
}Semantic roles & 50–950 ramp
primary
#166834
secondary
#9F3B7A
accent
#40AAE8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A