#166B2F#166B2F
#166B2F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.122 H 148.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #166B2F |
|---|---|
| RGB | rgb(22, 107, 47) |
| HSL | hsl(138, 66%, 25%) |
| HSV | hsv(138, 79%, 42%) |
| CMYK | cmyk(79.4%, 0%, 56.1%, 58%) |
| CIE-LAB | lab(39.40, -38.57, 26.52) |
| CIE-LCH | lch(39.40, 46.81, 145.49°) |
| OKLab | oklab(46.46% -0.1037 0.0638) |
| OKLCH | oklch(46.46% 0.122 148.4) |
| XYZ | xyz(6.1012, 10.8905, 4.4693) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 6.06
Spruce
#0A5F38
ΔE00 6.14
Pine
#2B5D34
ΔE00 6.23
Darkgreen
#006400
ΔE00 6.35
Forest Green
#2D5A27
ΔE00 6.54
Deep Green
#02590F
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166B2F #6B1652
analogous
#286B16 #166B2F #166B59
triadic
#166B2F #2F166B #6B2F16
tetradic
#166B2F #16286B #6B1652 #6B5916
square
#166B2F #16286B #6B1652 #6B5916
split-complementary
#166B2F #59166B #6B1628
monochromatic
#05190B #0C3819 #166B2F #209E45 #2BD15C
Accessibility & contrast
On white
6.61
#166B2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#166B2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166B2F
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166B2F | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166b2f; /* rgb */ color: rgb(22, 107, 47); /* oklch */ color: oklch(46.5% 0.122 148.4);
Tailwind
colors: {
custom: {
50: '#629669',
500: '#166b2f',
950: '#000000',
},
}SCSS
$custom: #166b2f; $custom-light: #629669; $custom-dark: #000000;
JSON
{
"hex": "#166b2f",
"rgb": {
"r": 22,
"g": 107,
"b": 47
},
"hsl": {
"h": 137.647,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.46464,
"c": 0.12176,
"h": 148.4
},
"luminance": 0.10891
}Semantic roles & 50–950 ramp
primary
#166B2F
secondary
#A13B83
accent
#3FB7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A