#166F28#166F28
#166F28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.133 H 146.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #166F28 |
|---|---|
| RGB | rgb(22, 111, 40) |
| HSL | hsl(132, 67%, 26%) |
| HSV | hsv(132, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 64%, 56.5%) |
| CIE-LAB | lab(40.72, -41.10, 31.72) |
| CIE-LCH | lch(40.72, 51.92, 142.34°) |
| OKLab | oklab(47.54% -0.1107 0.0746) |
| OKLCH | oklch(47.54% 0.133 146) |
| XYZ | xyz(6.3979, 11.6919, 3.9266) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.75
Darkgreen
#006400
ΔE00 5.38
Tree Green
#2A7E19
ΔE00 6.80
Jungle Green
#048243
ΔE00 7.25
Deep Green
#02590F
ΔE00 7.27
Green
#008000
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F28 #6F165D
analogous
#306F16 #166F28 #166F54
triadic
#166F28 #28166F #6F2816
tetradic
#166F28 #16306F #6F165D #6F5416
square
#166F28 #16306F #6F165D #6F5416
split-complementary
#166F28 #54166F #6F1630
monochromatic
#051A09 #0C3C16 #166F28 #20A23A #2BD54D
Accessibility & contrast
On white
6.29
#166F28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#166F28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F28
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F28 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#675D2E
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f28; /* rgb */ color: rgb(22, 111, 40); /* oklch */ color: oklch(47.5% 0.133 146.0);
Tailwind
colors: {
custom: {
50: '#649965',
500: '#166f28',
950: '#000000',
},
}SCSS
$custom: #166f28; $custom-light: #649965; $custom-dark: #000000;
JSON
{
"hex": "#166f28",
"rgb": {
"r": 22,
"g": 111,
"b": 40
},
"hsl": {
"h": 132.135,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47536,
"c": 0.13349,
"h": 146
},
"luminance": 0.11693
}Semantic roles & 50–950 ramp
primary
#166F28
secondary
#A53C90
accent
#3EC7EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A