#166830#166830
#166830 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.117 H 149.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #166830 |
|---|---|
| RGB | rgb(22, 104, 48) |
| HSL | hsl(139, 65%, 25%) |
| HSV | hsv(139, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 53.8%, 59.2%) |
| CIE-LAB | lab(38.35, -37.25, 24.69) |
| CIE-LCH | lch(38.35, 44.68, 146.46°) |
| OKLab | oklab(45.6% -0.1001 0.0598) |
| OKLCH | oklch(45.6% 0.117 149.2) |
| XYZ | xyz(5.8142, 10.2839, 4.4743) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.99
Pine
#2B5D34
ΔE00 5.17
Forest Green
#2D5A27
ΔE00 5.74
Deep Green
#02590F
ΔE00 6.30
Darkgreen
#006400
ΔE00 6.73
Hunter Green
#355E3B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166830 #68164E
analogous
#256816 #166830 #166859
triadic
#166830 #301668 #683016
tetradic
#166830 #162568 #68164E #685916
square
#166830 #162568 #68164E #685916
split-complementary
#166830 #591668 #681625
monochromatic
#05190C #0B3519 #166830 #219B47 #2BCD5F
Accessibility & contrast
On white
6.87
#166830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#166830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166830
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166830 | 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)
#695E2B
Deuteranopia (green-blind)
#5F5834
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166830; /* rgb */ color: rgb(22, 104, 48); /* oklch */ color: oklch(45.6% 0.117 149.2);
Tailwind
colors: {
custom: {
50: '#629469',
500: '#166830',
950: '#000000',
},
}SCSS
$custom: #166830; $custom-light: #629469; $custom-dark: #000000;
JSON
{
"hex": "#166830",
"rgb": {
"r": 22,
"g": 104,
"b": 48
},
"hsl": {
"h": 139.024,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45601,
"c": 0.11661,
"h": 149.2
},
"luminance": 0.10285
}Semantic roles & 50–950 ramp
primary
#166830
secondary
#9F3B7F
accent
#40B3E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A