#166D2C#166D2C
#166D2C is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.127 H 147.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #166D2C |
|---|---|
| RGB | rgb(22, 109, 44) |
| HSL | hsl(135, 66%, 26%) |
| HSV | hsv(135, 80%, 43%) |
| CMYK | cmyk(79.8%, 0%, 59.6%, 57.3%) |
| CIE-LAB | lab(40.06, -39.80, 28.91) |
| CIE-LCH | lch(40.06, 49.19, 144.00°) |
| OKLab | oklab(47.01% -0.1071 0.0688) |
| OKLCH | oklch(47.01% 0.127 147.3) |
| XYZ | xyz(6.2537, 11.2890, 4.2318) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.32
Darkgreen
#006400
ΔE00 5.82
Deep Green
#02590F
ΔE00 6.91
Forest Green
#2D5A27
ΔE00 7.16
Pine
#2B5D34
ΔE00 7.19
Spruce
#0A5F38
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166D2C #6D1657
analogous
#2C6D16 #166D2C #166D57
triadic
#166D2C #2C166D #6D2C16
tetradic
#166D2C #162C6D #6D1657 #6D5716
square
#166D2C #162C6D #6D1657 #6D5716
split-complementary
#166D2C #57166D #6D162C
monochromatic
#05190A #0C3A17 #166D2C #20A041 #2BD355
Accessibility & contrast
On white
6.45
#166D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#166D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166D2C
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166D2C | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6326
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#006A5F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166d2c; /* rgb */ color: rgb(22, 109, 44); /* oklch */ color: oklch(47.0% 0.127 147.3);
Tailwind
colors: {
custom: {
50: '#639867',
500: '#166d2c',
950: '#000000',
},
}SCSS
$custom: #166d2c; $custom-light: #639867; $custom-dark: #000000;
JSON
{
"hex": "#166d2c",
"rgb": {
"r": 22,
"g": 109,
"b": 44
},
"hsl": {
"h": 135.172,
"s": 66.412,
"l": 25.686
},
"oklch": {
"l": 0.47005,
"c": 0.12729,
"h": 147.3
},
"luminance": 0.1129
}Semantic roles & 50–950 ramp
primary
#166D2C
secondary
#A33C89
accent
#3EBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A