#166138#166138
#166138 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.098 H 154.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #166138 |
|---|---|
| RGB | rgb(22, 97, 56) |
| HSL | hsl(147, 63%, 23%) |
| HSV | hsv(147, 77%, 38%) |
| CMYK | cmyk(77.3%, 0%, 42.3%, 62%) |
| CIE-LAB | lab(35.99, -32.86, 17.09) |
| CIE-LCH | lch(35.99, 37.04, 152.52°) |
| OKLab | oklab(43.7% -0.0887 0.0426) |
| OKLCH | oklch(43.7% 0.098 154.3) |
| XYZ | xyz(5.3189, 9.0049, 5.1984) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.14
Pine
#2B5D34
ΔE00 3.13
Hunter Green
#355E3B
ΔE00 4.57
Forest Green
#2D5A27
ΔE00 5.63
Deep Green
#02590F
ΔE00 7.81
Pine Green
#0A481E
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166138 #61163F
analogous
#196116 #166138 #16615D
triadic
#166138 #381661 #613816
tetradic
#166138 #161961 #61163F #615D16
square
#166138 #161961 #61163F #615D16
split-complementary
#166138 #5D1661 #611619
monochromatic
#06190E #0B2F1B #166138 #219355 #2DC572
Accessibility & contrast
On white
7.50
#166138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#166138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166138
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166138 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615935
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166138; /* rgb */ color: rgb(22, 97, 56); /* oklch */ color: oklch(43.7% 0.098 154.3);
Tailwind
colors: {
custom: {
50: '#608f6f',
500: '#166138',
950: '#000000',
},
}SCSS
$custom: #166138; $custom-light: #608f6f; $custom-dark: #000000;
JSON
{
"hex": "#166138",
"rgb": {
"r": 22,
"g": 97,
"b": 56
},
"hsl": {
"h": 147.2,
"s": 63.025,
"l": 23.333
},
"oklch": {
"l": 0.437,
"c": 0.09834,
"h": 154.3
},
"luminance": 0.09005
}Semantic roles & 50–950 ramp
primary
#166138
secondary
#983B6E
accent
#429CE6
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A