#166338#166338
#166338 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.101 H 153.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #166338 |
|---|---|
| RGB | rgb(22, 99, 56) |
| HSL | hsl(146, 64%, 24%) |
| HSV | hsv(146, 78%, 39%) |
| CMYK | cmyk(77.8%, 0%, 43.4%, 61.2%) |
| CIE-LAB | lab(36.70, -33.71, 18.03) |
| CIE-LCH | lch(36.70, 38.23, 151.86°) |
| OKLab | oklab(44.29% -0.0908 0.0448) |
| OKLCH | oklch(44.29% 0.101 153.8) |
| XYZ | xyz(5.5060, 9.3791, 5.2608) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.79
Pine
#2B5D34
ΔE00 3.42
Hunter Green
#355E3B
ΔE00 4.87
Forest Green
#2D5A27
ΔE00 5.69
Deep Green
#02590F
ΔE00 7.67
Pine Green
#0A481E
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166338 #631641
analogous
#1A6316 #166338 #16635E
triadic
#166338 #381663 #633816
tetradic
#166338 #161A63 #631641 #635E16
square
#166338 #161A63 #631641 #635E16
split-complementary
#166338 #5E1663 #63161A
monochromatic
#06190E #0B311C #166338 #219554 #2CC771
Accessibility & contrast
On white
7.30
#166338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#166338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166338
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166338 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A35
Deuteranopia (green-blind)
#5A543B
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #166338; /* rgb */ color: rgb(22, 99, 56); /* oklch */ color: oklch(44.3% 0.101 153.8);
Tailwind
colors: {
custom: {
50: '#60906f',
500: '#166338',
950: '#000000',
},
}SCSS
$custom: #166338; $custom-light: #60906f; $custom-dark: #000000;
JSON
{
"hex": "#166338",
"rgb": {
"r": 22,
"g": 99,
"b": 56
},
"hsl": {
"h": 146.494,
"s": 63.636,
"l": 23.725
},
"oklch": {
"l": 0.44286,
"c": 0.10129,
"h": 153.8
},
"luminance": 0.0938
}Semantic roles & 50–950 ramp
primary
#166338
secondary
#9A3B70
accent
#419EE7
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A