#166438#166438
#166438 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.6% C 0.103 H 153.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #166438 |
|---|---|
| RGB | rgb(22, 100, 56) |
| HSL | hsl(146, 64%, 24%) |
| HSV | hsv(146, 78%, 39%) |
| CMYK | cmyk(78%, 0%, 44%, 60.8%) |
| CIE-LAB | lab(37.06, -34.13, 18.49) |
| CIE-LCH | lch(37.06, 38.81, 151.55°) |
| OKLab | oklab(44.58% -0.0919 0.0459) |
| OKLCH | oklch(44.58% 0.103 153.5) |
| XYZ | xyz(5.6014, 9.5698, 5.2926) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.14
Pine
#2B5D34
ΔE00 3.61
Hunter Green
#355E3B
ΔE00 5.05
Forest Green
#2D5A27
ΔE00 5.76
Deep Green
#02590F
ΔE00 7.63
Forest
#0B5509
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166438 #641642
analogous
#1B6416 #166438 #16645F
triadic
#166438 #381664 #643816
tetradic
#166438 #161B64 #641642 #645F16
square
#166438 #161B64 #641642 #645F16
split-complementary
#166438 #5F1664 #64161B
monochromatic
#06190E #0B321C #166438 #219654 #2CC870
Accessibility & contrast
On white
7.21
#166438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#166438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166438
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166438 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B35
Deuteranopia (green-blind)
#5B553B
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #166438; /* rgb */ color: rgb(22, 100, 56); /* oklch */ color: oklch(44.6% 0.103 153.5);
Tailwind
colors: {
custom: {
50: '#60916f',
500: '#166438',
950: '#000000',
},
}SCSS
$custom: #166438; $custom-light: #60916f; $custom-dark: #000000;
JSON
{
"hex": "#166438",
"rgb": {
"r": 22,
"g": 100,
"b": 56
},
"hsl": {
"h": 146.154,
"s": 63.934,
"l": 23.922
},
"oklch": {
"l": 0.44579,
"c": 0.10276,
"h": 153.5
},
"luminance": 0.0957
}Semantic roles & 50–950 ramp
primary
#166438
secondary
#9B3B71
accent
#419FE7
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A