#166E27#166E27
#166E27 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.2% C 0.133 H 145.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #166E27 |
|---|---|
| RGB | rgb(22, 110, 39) |
| HSL | hsl(132, 67%, 26%) |
| HSV | hsv(132, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 64.5%, 56.9%) |
| CIE-LAB | lab(40.36, -40.87, 31.80) |
| CIE-LCH | lch(40.36, 51.78, 142.11°) |
| OKLab | oklab(47.23% -0.1101 0.0746) |
| OKLCH | oklch(47.23% 0.133 145.9) |
| XYZ | xyz(6.2726, 11.4682, 3.8021) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.07
Darkgreen
#006400
ΔE00 5.12
Deep Green
#02590F
ΔE00 6.93
Tree Green
#2A7E19
ΔE00 7.02
Jungle Green
#048243
ΔE00 7.58
Forest Green
#2D5A27
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E27 #6E165D
analogous
#316E16 #166E27 #166E53
triadic
#166E27 #27166E #6E2716
tetradic
#166E27 #16316E #6E165D #6E5316
square
#166E27 #16316E #6E165D #6E5316
split-complementary
#166E27 #53166E #6E1631
monochromatic
#051A09 #0C3B15 #166E27 #20A139 #2AD44B
Accessibility & contrast
On white
6.38
#166E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#166E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E27
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E27 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70631F
Deuteranopia (green-blind)
#665C2D
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e27; /* rgb */ color: rgb(22, 110, 39); /* oklch */ color: oklch(47.2% 0.133 145.9);
Tailwind
colors: {
custom: {
50: '#649864',
500: '#166e27',
950: '#000000',
},
}SCSS
$custom: #166e27; $custom-light: #649864; $custom-dark: #000000;
JSON
{
"hex": "#166e27",
"rgb": {
"r": 22,
"g": 110,
"b": 39
},
"hsl": {
"h": 131.591,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47231,
"c": 0.13303,
"h": 145.9
},
"luminance": 0.11469
}Semantic roles & 50–950 ramp
primary
#166E27
secondary
#A43C90
accent
#3EC8EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A