#166C2F#166C2F
#166C2F is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.123 H 148.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #166C2F |
|---|---|
| RGB | rgb(22, 108, 47) |
| HSL | hsl(137, 66%, 25%) |
| HSV | hsv(137, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 56.5%, 57.6%) |
| CIE-LAB | lab(39.75, -38.96, 26.95) |
| CIE-LCH | lch(39.75, 47.37, 145.33°) |
| OKLab | oklab(46.76% -0.1047 0.0647) |
| OKLCH | oklch(46.76% 0.123 148.3) |
| XYZ | xyz(6.2060, 11.1002, 4.5043) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.72
Darkgreen
#006400
ΔE00 6.34
Spruce
#0A5F38
ΔE00 6.47
Pine
#2B5D34
ΔE00 6.55
Forest Green
#2D5A27
ΔE00 6.83
Deep Green
#02590F
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C2F #6C1653
analogous
#286C16 #166C2F #166C5A
triadic
#166C2F #2F166C #6C2F16
tetradic
#166C2F #16286C #6C1653 #6C5A16
square
#166C2F #16286C #6C1653 #6C5A16
split-complementary
#166C2F #5A166C #6C1628
monochromatic
#05190B #0C3919 #166C2F #209F45 #2BD25B
Accessibility & contrast
On white
6.52
#166C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#166C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C2F
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C2F | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6229
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166c2f; /* rgb */ color: rgb(22, 108, 47); /* oklch */ color: oklch(46.8% 0.123 148.3);
Tailwind
colors: {
custom: {
50: '#639769',
500: '#166c2f',
950: '#000000',
},
}SCSS
$custom: #166c2f; $custom-light: #639769; $custom-dark: #000000;
JSON
{
"hex": "#166c2f",
"rgb": {
"r": 22,
"g": 108,
"b": 47
},
"hsl": {
"h": 137.442,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46757,
"c": 0.12313,
"h": 148.3
},
"luminance": 0.11101
}Semantic roles & 50–950 ramp
primary
#166C2F
secondary
#A23C84
accent
#3FB8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A