#166F2C#166F2C
#166F2C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.130 H 147.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #166F2C |
|---|---|
| RGB | rgb(22, 111, 44) |
| HSL | hsl(135, 67%, 26%) |
| HSV | hsv(135, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 60.4%, 56.5%) |
| CIE-LAB | lab(40.77, -40.54, 29.75) |
| CIE-LCH | lch(40.77, 50.29, 143.73°) |
| OKLab | oklab(47.59% -0.1091 0.0707) |
| OKLCH | oklch(47.59% 0.13 147.1) |
| XYZ | xyz(6.4694, 11.7205, 4.3037) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.67
Darkgreen
#006400
ΔE00 5.97
Jungle Green
#048243
ΔE00 6.95
Tree Green
#2A7E19
ΔE00 7.30
Deep Green
#02590F
ΔE00 7.45
Forest Green
#2D5A27
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F2C #6F1659
analogous
#2D6F16 #166F2C #166F58
triadic
#166F2C #2C166F #6F2C16
tetradic
#166F2C #162D6F #6F1659 #6F5816
square
#166F2C #162D6F #6F1659 #6F5816
split-complementary
#166F2C #58166F #6F162D
monochromatic
#051A0A #0C3C18 #166F2C #20A240 #2BD555
Accessibility & contrast
On white
6.28
#166F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#166F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F2C
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F2C | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706425
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f2c; /* rgb */ color: rgb(22, 111, 44); /* oklch */ color: oklch(47.6% 0.130 147.1);
Tailwind
colors: {
custom: {
50: '#649967',
500: '#166f2c',
950: '#000000',
},
}SCSS
$custom: #166f2c; $custom-light: #649967; $custom-dark: #000000;
JSON
{
"hex": "#166f2c",
"rgb": {
"r": 22,
"g": 111,
"b": 44
},
"hsl": {
"h": 134.831,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.4759,
"c": 0.12997,
"h": 147.1
},
"luminance": 0.11721
}Semantic roles & 50–950 ramp
primary
#166F2C
secondary
#A53C8B
accent
#3EBFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A