#166828#166828
#166828 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.124 H 146.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #166828 |
|---|---|
| RGB | rgb(22, 104, 40) |
| HSL | hsl(133, 65%, 25%) |
| HSV | hsv(133, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(38.24, -38.50, 28.84) |
| CIE-LCH | lch(38.24, 48.11, 143.16°) |
| OKLab | oklab(45.48% -0.1037 0.0683) |
| OKLCH | oklch(45.48% 0.124 146.6) |
| XYZ | xyz(5.6638, 10.2237, 3.6820) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.05
Deep Green
#02590F
ΔE00 5.36
Forest Green
#2D5A27
ΔE00 5.77
Pine
#2B5D34
ΔE00 6.13
Spruce
#0A5F38
ΔE00 6.47
Forest
#0B5509
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166828 #681656
analogous
#2D6816 #166828 #166851
triadic
#166828 #281668 #682816
tetradic
#166828 #162D68 #681656 #685116
square
#166828 #162D68 #681656 #685116
split-complementary
#166828 #511668 #68162D
monochromatic
#05190A #0B3515 #166828 #219B3B #2BCD4F
Accessibility & contrast
On white
6.90
#166828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#166828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166828
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166828 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166828; /* rgb */ color: rgb(22, 104, 40); /* oklch */ color: oklch(45.5% 0.124 146.6);
Tailwind
colors: {
custom: {
50: '#629464',
500: '#166828',
950: '#000000',
},
}SCSS
$custom: #166828; $custom-light: #629464; $custom-dark: #000000;
JSON
{
"hex": "#166828",
"rgb": {
"r": 22,
"g": 104,
"b": 40
},
"hsl": {
"h": 133.171,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45479,
"c": 0.12419,
"h": 146.6
},
"luminance": 0.10224
}Semantic roles & 50–950 ramp
primary
#166828
secondary
#9F3B89
accent
#40C3E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A