#166128#166128
#166128 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.4% C 0.115 H 147.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #166128 |
|---|---|
| RGB | rgb(22, 97, 40) |
| HSL | hsl(134, 63%, 23%) |
| HSV | hsv(134, 77%, 38%) |
| CMYK | cmyk(77.3%, 0%, 58.8%, 62%) |
| CIE-LAB | lab(35.74, -35.81, 25.87) |
| CIE-LCH | lch(35.74, 44.18, 144.15°) |
| OKLab | oklab(43.41% -0.0964 0.0619) |
| OKLCH | oklch(43.41% 0.115 147.3) |
| XYZ | xyz(4.9882, 8.8726, 3.4568) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.97
Deep Green
#02590F
ΔE00 4.24
Pine
#2B5D34
ΔE00 4.29
Spruce
#0A5F38
ΔE00 4.81
Forest
#0B5509
ΔE00 5.38
Darkgreen
#006400
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166128 #61164F
analogous
#296116 #166128 #16614D
triadic
#166128 #281661 #612816
tetradic
#166128 #162961 #61164F #614D16
square
#166128 #162961 #61164F #614D16
split-complementary
#166128 #4D1661 #611629
monochromatic
#06190A #0B2F13 #166128 #21933D #2DC551
Accessibility & contrast
On white
7.57
#166128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#166128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166128
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166128 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#59522C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #166128; /* rgb */ color: rgb(22, 97, 40); /* oklch */ color: oklch(43.4% 0.115 147.3);
Tailwind
colors: {
custom: {
50: '#608f63',
500: '#166128',
950: '#000000',
},
}SCSS
$custom: #166128; $custom-light: #608f63; $custom-dark: #000000;
JSON
{
"hex": "#166128",
"rgb": {
"r": 22,
"g": 97,
"b": 40
},
"hsl": {
"h": 134.4,
"s": 63.025,
"l": 23.333
},
"oklch": {
"l": 0.43405,
"c": 0.11457,
"h": 147.3
},
"luminance": 0.08873
}Semantic roles & 50–950 ramp
primary
#166128
secondary
#983B82
accent
#42BFE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A