#166E28#166E28
#166E28 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.2% C 0.132 H 146.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #166E28 |
|---|---|
| RGB | rgb(22, 110, 40) |
| HSL | hsl(132, 67%, 26%) |
| HSV | hsv(132, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 63.6%, 56.9%) |
| CIE-LAB | lab(40.37, -40.73, 31.31) |
| CIE-LCH | lch(40.37, 51.38, 142.45°) |
| OKLab | oklab(47.24% -0.1097 0.0737) |
| OKLCH | oklch(47.24% 0.132 146.1) |
| XYZ | xyz(6.2893, 11.4749, 3.8905) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.04
Darkgreen
#006400
ΔE00 5.26
Deep Green
#02590F
ΔE00 6.97
Tree Green
#2A7E19
ΔE00 7.13
Jungle Green
#048243
ΔE00 7.50
Forest Green
#2D5A27
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E28 #6E165C
analogous
#306E16 #166E28 #166E54
triadic
#166E28 #28166E #6E2816
tetradic
#166E28 #16306E #6E165C #6E5416
square
#166E28 #16306E #6E165C #6E5416
split-complementary
#166E28 #54166E #6E1630
monochromatic
#051A09 #0C3B15 #166E28 #20A13B #2AD44D
Accessibility & contrast
On white
6.37
#166E28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#166E28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E28
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E28 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706320
Deuteranopia (green-blind)
#665C2E
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e28; /* rgb */ color: rgb(22, 110, 40); /* oklch */ color: oklch(47.2% 0.132 146.1);
Tailwind
colors: {
custom: {
50: '#649865',
500: '#166e28',
950: '#000000',
},
}SCSS
$custom: #166e28; $custom-light: #649865; $custom-dark: #000000;
JSON
{
"hex": "#166e28",
"rgb": {
"r": 22,
"g": 110,
"b": 40
},
"hsl": {
"h": 132.273,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47243,
"c": 0.13218,
"h": 146.1
},
"luminance": 0.11476
}Semantic roles & 50–950 ramp
primary
#166E28
secondary
#A43C8F
accent
#3EC7EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A