#166226#166226
#166226 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.118 H 146.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #166226 |
|---|---|
| RGB | rgb(22, 98, 38) |
| HSL | hsl(133, 63%, 24%) |
| HSV | hsv(133, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 61.2%, 61.6%) |
| CIE-LAB | lab(36.07, -36.50, 27.34) |
| CIE-LCH | lch(36.07, 45.60, 143.17°) |
| OKLab | oklab(43.67% -0.0984 0.0649) |
| OKLCH | oklch(43.67% 0.118 146.6) |
| XYZ | xyz(5.0480, 9.0453, 3.3132) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.02
Forest Green
#2D5A27
ΔE00 4.22
Pine
#2B5D34
ΔE00 4.84
Forest
#0B5509
ΔE00 5.23
Darkgreen
#006400
ΔE00 5.35
Spruce
#0A5F38
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166226 #621652
analogous
#2C6216 #166226 #16624C
triadic
#166226 #261662 #622616
tetradic
#166226 #162C62 #621652 #624C16
square
#166226 #162C62 #621652 #624C16
split-complementary
#166226 #4C1662 #62162C
monochromatic
#06190A #0B3013 #166226 #219439 #2CC64D
Accessibility & contrast
On white
7.48
#166226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#166226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166226
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166226 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635920
Deuteranopia (green-blind)
#5B522B
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166226; /* rgb */ color: rgb(22, 98, 38); /* oklch */ color: oklch(43.7% 0.118 146.6);
Tailwind
colors: {
custom: {
50: '#608f62',
500: '#166226',
950: '#000000',
},
}SCSS
$custom: #166226; $custom-light: #608f62; $custom-dark: #000000;
JSON
{
"hex": "#166226",
"rgb": {
"r": 22,
"g": 98,
"b": 38
},
"hsl": {
"h": 132.632,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43673,
"c": 0.11783,
"h": 146.6
},
"luminance": 0.09046
}Semantic roles & 50–950 ramp
primary
#166226
secondary
#993B85
accent
#41C4E6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79