#166428#166428
#166428 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.119 H 147.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #166428 |
|---|---|
| RGB | rgb(22, 100, 40) |
| HSL | hsl(134, 64%, 24%) |
| HSV | hsv(134, 78%, 39%) |
| CMYK | cmyk(78%, 0%, 60%, 60.8%) |
| CIE-LAB | lab(36.81, -36.97, 27.16) |
| CIE-LCH | lch(36.81, 45.88, 143.70°) |
| OKLab | oklab(44.3% -0.0996 0.0647) |
| OKLCH | oklch(44.3% 0.119 147) |
| XYZ | xyz(5.2707, 9.4375, 3.5509) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.58
Forest Green
#2D5A27
ΔE00 4.67
Pine
#2B5D34
ΔE00 5.03
Darkgreen
#006400
ΔE00 5.44
Spruce
#0A5F38
ΔE00 5.45
Forest
#0B5509
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166428 #641652
analogous
#2B6416 #166428 #16644F
triadic
#166428 #281664 #642816
tetradic
#166428 #162B64 #641652 #644F16
square
#166428 #162B64 #641652 #644F16
split-complementary
#166428 #4F1664 #64162B
monochromatic
#06190A #0B3214 #166428 #21963C #2CC850
Accessibility & contrast
On white
7.27
#166428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#166428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166428
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166428 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #166428; /* rgb */ color: rgb(22, 100, 40); /* oklch */ color: oklch(44.3% 0.119 147.0);
Tailwind
colors: {
custom: {
50: '#619164',
500: '#166428',
950: '#000000',
},
}SCSS
$custom: #166428; $custom-light: #619164; $custom-dark: #000000;
JSON
{
"hex": "#166428",
"rgb": {
"r": 22,
"g": 100,
"b": 40
},
"hsl": {
"h": 133.846,
"s": 63.934,
"l": 23.922
},
"oklch": {
"l": 0.44296,
"c": 0.11873,
"h": 147
},
"luminance": 0.09438
}Semantic roles & 50–950 ramp
primary
#166428
secondary
#9B3B85
accent
#41C1E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A