#166229#166229
#166229 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.115 H 147.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #166229 |
|---|---|
| RGB | rgb(22, 98, 41) |
| HSL | hsl(135, 63%, 24%) |
| HSV | hsv(135, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 58.2%, 61.6%) |
| CIE-LAB | lab(36.11, -36.04, 25.78) |
| CIE-LCH | lch(36.11, 44.32, 144.42°) |
| OKLab | oklab(43.72% -0.097 0.0617) |
| OKLCH | oklch(43.72% 0.115 147.5) |
| XYZ | xyz(5.0984, 9.0655, 3.5785) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.18
Pine
#2B5D34
ΔE00 4.37
Deep Green
#02590F
ΔE00 4.49
Spruce
#0A5F38
ΔE00 4.79
Forest
#0B5509
ΔE00 5.66
Darkgreen
#006400
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166229 #62164F
analogous
#296216 #166229 #16624F
triadic
#166229 #291662 #622916
tetradic
#166229 #162962 #62164F #624F16
square
#166229 #162962 #62164F #624F16
split-complementary
#166229 #4F1662 #621629
monochromatic
#06190A #0B3014 #166229 #21943E #2CC653
Accessibility & contrast
On white
7.46
#166229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#166229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166229
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166229 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635924
Deuteranopia (green-blind)
#5A532D
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166229; /* rgb */ color: rgb(22, 98, 41); /* oklch */ color: oklch(43.7% 0.115 147.5);
Tailwind
colors: {
custom: {
50: '#608f64',
500: '#166229',
950: '#000000',
},
}SCSS
$custom: #166229; $custom-light: #608f64; $custom-dark: #000000;
JSON
{
"hex": "#166229",
"rgb": {
"r": 22,
"g": 98,
"b": 41
},
"hsl": {
"h": 135,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43718,
"c": 0.115,
"h": 147.5
},
"luminance": 0.09066
}Semantic roles & 50–950 ramp
primary
#166229
secondary
#993B81
accent
#41BDE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A