#166D2F#166D2F
#166D2F is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.124 H 148.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #166D2F |
|---|---|
| RGB | rgb(22, 109, 47) |
| HSL | hsl(137, 66%, 26%) |
| HSV | hsv(137, 80%, 43%) |
| CMYK | cmyk(79.8%, 0%, 56.9%, 57.3%) |
| CIE-LAB | lab(40.10, -39.34, 27.38) |
| CIE-LCH | lch(40.10, 47.93, 145.16°) |
| OKLab | oklab(47.05% -0.1058 0.0657) |
| OKLCH | oklch(47.05% 0.125 148.2) |
| XYZ | xyz(6.3121, 11.3123, 4.5396) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.38
Darkgreen
#006400
ΔE00 6.36
Spruce
#0A5F38
ΔE00 6.79
Pine
#2B5D34
ΔE00 6.87
Forest Green
#2D5A27
ΔE00 7.12
Deep Green
#02590F
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166D2F #6D1654
analogous
#296D16 #166D2F #166D5A
triadic
#166D2F #2F166D #6D2F16
tetradic
#166D2F #16296D #6D1654 #6D5A16
square
#166D2F #16296D #6D1654 #6D5A16
split-complementary
#166D2F #5A166D #6D1629
monochromatic
#05190B #0C3A19 #166D2F #20A045 #2BD35B
Accessibility & contrast
On white
6.44
#166D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#166D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166D2F
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166D2F | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6329
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166d2f; /* rgb */ color: rgb(22, 109, 47); /* oklch */ color: oklch(47.0% 0.124 148.2);
Tailwind
colors: {
custom: {
50: '#639869',
500: '#166d2f',
950: '#000000',
},
}SCSS
$custom: #166d2f; $custom-light: #639869; $custom-dark: #000000;
JSON
{
"hex": "#166d2f",
"rgb": {
"r": 22,
"g": 109,
"b": 47
},
"hsl": {
"h": 137.241,
"s": 66.412,
"l": 25.686
},
"oklch": {
"l": 0.47049,
"c": 0.1245,
"h": 148.2
},
"luminance": 0.11313
}Semantic roles & 50–950 ramp
primary
#166D2F
secondary
#A33C85
accent
#3EB8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A