#166B27#166B27
#166B27 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.129 H 146.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #166B27 |
|---|---|
| RGB | rgb(22, 107, 39) |
| HSL | hsl(132, 66%, 25%) |
| HSV | hsv(132, 79%, 42%) |
| CMYK | cmyk(79.4%, 0%, 63.6%, 58%) |
| CIE-LAB | lab(39.30, -39.76, 30.58) |
| CIE-LCH | lch(39.30, 50.16, 142.44°) |
| OKLab | oklab(46.35% -0.1071 0.072) |
| OKLCH | oklch(46.35% 0.129 146.1) |
| XYZ | xyz(5.9543, 10.8318, 3.6960) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.87
Darkish Green
#287C37
ΔE00 5.98
Deep Green
#02590F
ΔE00 6.06
Forest Green
#2D5A27
ΔE00 6.70
Pine
#2B5D34
ΔE00 7.14
Forest
#0B5509
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166B27 #6B165A
analogous
#2F6B16 #166B27 #166B51
triadic
#166B27 #27166B #6B2716
tetradic
#166B27 #162F6B #6B165A #6B5116
square
#166B27 #162F6B #6B165A #6B5116
split-complementary
#166B27 #51166B #6B162F
monochromatic
#051909 #0C3814 #166B27 #209E3A #2BD14C
Accessibility & contrast
On white
6.63
#166B27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#166B27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166B27
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166B27 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6120
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166b27; /* rgb */ color: rgb(22, 107, 39); /* oklch */ color: oklch(46.3% 0.129 146.1);
Tailwind
colors: {
custom: {
50: '#639664',
500: '#166b27',
950: '#000000',
},
}SCSS
$custom: #166b27; $custom-light: #639664; $custom-dark: #000000;
JSON
{
"hex": "#166b27",
"rgb": {
"r": 22,
"g": 107,
"b": 39
},
"hsl": {
"h": 132,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.46349,
"c": 0.12909,
"h": 146.1
},
"luminance": 0.10832
}Semantic roles & 50–950 ramp
primary
#166B27
secondary
#A13B8D
accent
#3FC7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A