#166827#166827
#166827 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.125 H 146.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #166827 |
|---|---|
| RGB | rgb(22, 104, 39) |
| HSL | hsl(132, 65%, 25%) |
| HSV | hsv(132, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 62.5%, 59.2%) |
| CIE-LAB | lab(38.23, -38.64, 29.35) |
| CIE-LCH | lch(38.23, 48.52, 142.79°) |
| OKLab | oklab(45.47% -0.1041 0.0693) |
| OKLCH | oklch(45.47% 0.125 146.3) |
| XYZ | xyz(5.6470, 10.2170, 3.5935) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.86
Deep Green
#02590F
ΔE00 5.28
Forest Green
#2D5A27
ΔE00 5.80
Pine
#2B5D34
ΔE00 6.27
Forest
#0B5509
ΔE00 6.59
Spruce
#0A5F38
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166827 #681657
analogous
#2E6816 #166827 #166850
triadic
#166827 #271668 #682716
tetradic
#166827 #162E68 #681657 #685016
square
#166827 #162E68 #681657 #685016
split-complementary
#166827 #501668 #68162E
monochromatic
#051909 #0B3514 #166827 #219B3A #2BCD4D
Accessibility & contrast
On white
6.90
#166827 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#166827 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166827
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166827 | 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)
#6A5E20
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166827; /* rgb */ color: rgb(22, 104, 39); /* oklch */ color: oklch(45.5% 0.125 146.3);
Tailwind
colors: {
custom: {
50: '#629463',
500: '#166827',
950: '#000000',
},
}SCSS
$custom: #166827; $custom-light: #629463; $custom-dark: #000000;
JSON
{
"hex": "#166827",
"rgb": {
"r": 22,
"g": 104,
"b": 39
},
"hsl": {
"h": 132.439,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45465,
"c": 0.12509,
"h": 146.3
},
"luminance": 0.10218
}Semantic roles & 50–950 ramp
primary
#166827
secondary
#9F3B8A
accent
#40C5E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A