#166F27#166F27
#166F27 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.134 H 145.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #166F27 |
|---|---|
| RGB | rgb(22, 111, 39) |
| HSL | hsl(131, 67%, 26%) |
| HSV | hsv(131, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 64.9%, 56.5%) |
| CIE-LAB | lab(40.71, -41.23, 32.20) |
| CIE-LCH | lch(40.71, 52.32, 142.01°) |
| OKLab | oklab(47.52% -0.1111 0.0755) |
| OKLCH | oklch(47.52% 0.134 145.8) |
| XYZ | xyz(6.3811, 11.6852, 3.8382) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.78
Darkgreen
#006400
ΔE00 5.25
Tree Green
#2A7E19
ΔE00 6.69
Deep Green
#02590F
ΔE00 7.23
Jungle Green
#048243
ΔE00 7.33
Green
#008000
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F27 #6F165E
analogous
#316F16 #166F27 #166F53
triadic
#166F27 #27166F #6F2716
tetradic
#166F27 #16316F #6F165E #6F5316
square
#166F27 #16316F #6F165E #6F5316
split-complementary
#166F27 #53166F #6F1631
monochromatic
#051A09 #0C3C15 #166F27 #20A239 #2BD54B
Accessibility & contrast
On white
6.29
#166F27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#166F27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F27
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F27 | 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)
#71641F
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f27; /* rgb */ color: rgb(22, 111, 39); /* oklch */ color: oklch(47.5% 0.134 145.8);
Tailwind
colors: {
custom: {
50: '#649964',
500: '#166f27',
950: '#000000',
},
}SCSS
$custom: #166f27; $custom-light: #649964; $custom-dark: #000000;
JSON
{
"hex": "#166f27",
"rgb": {
"r": 22,
"g": 111,
"b": 39
},
"hsl": {
"h": 131.461,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47524,
"c": 0.13434,
"h": 145.8
},
"luminance": 0.11686
}Semantic roles & 50–950 ramp
primary
#166F27
secondary
#A53C91
accent
#3EC9EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A