#166831#166831
#166831 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.116 H 149.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #166831 |
|---|---|
| RGB | rgb(22, 104, 49) |
| HSL | hsl(140, 65%, 25%) |
| HSV | hsv(140, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 52.9%, 59.2%) |
| CIE-LAB | lab(38.36, -37.07, 24.15) |
| CIE-LCH | lch(38.36, 44.25, 146.92°) |
| OKLab | oklab(45.62% -0.0997 0.0586) |
| OKLCH | oklch(45.62% 0.116 149.5) |
| XYZ | xyz(5.8351, 10.2923, 4.5842) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.81
Pine
#2B5D34
ΔE00 5.07
Forest Green
#2D5A27
ΔE00 5.78
Deep Green
#02590F
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.66
Darkgreen
#006400
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166831 #68164D
analogous
#246816 #166831 #16685A
triadic
#166831 #311668 #683116
tetradic
#166831 #162468 #68164D #685A16
square
#166831 #162468 #68164D #685A16
split-complementary
#166831 #5A1668 #681624
monochromatic
#05190C #0B3519 #166831 #219B49 #2BCD61
Accessibility & contrast
On white
6.87
#166831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#166831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166831
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166831 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E2C
Deuteranopia (green-blind)
#5F5835
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166831; /* rgb */ color: rgb(22, 104, 49); /* oklch */ color: oklch(45.6% 0.116 149.5);
Tailwind
colors: {
custom: {
50: '#62946a',
500: '#166831',
950: '#000000',
},
}SCSS
$custom: #166831; $custom-light: #62946a; $custom-dark: #000000;
JSON
{
"hex": "#166831",
"rgb": {
"r": 22,
"g": 104,
"b": 49
},
"hsl": {
"h": 139.756,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45618,
"c": 0.11562,
"h": 149.5
},
"luminance": 0.10293
}Semantic roles & 50–950 ramp
primary
#166831
secondary
#9F3B7E
accent
#40B1E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A