#166233#166233
#166233 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.105 H 151.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #166233 |
|---|---|
| RGB | rgb(22, 98, 51) |
| HSL | hsl(143, 63%, 24%) |
| HSV | hsv(143, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 48%, 61.6%) |
| CIE-LAB | lab(36.26, -34.29, 20.36) |
| CIE-LCH | lch(36.26, 39.88, 149.30°) |
| OKLab | oklab(43.89% -0.0923 0.0501) |
| OKLCH | oklch(43.89% 0.105 151.5) |
| XYZ | xyz(5.2956, 9.1443, 4.6173) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.50
Pine
#2B5D34
ΔE00 3.24
Forest Green
#2D5A27
ΔE00 4.86
Hunter Green
#355E3B
ΔE00 5.08
Deep Green
#02590F
ΔE00 6.51
Forest
#0B5509
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166233 #621645
analogous
#1F6216 #166233 #166259
triadic
#166233 #331662 #623316
tetradic
#166233 #161F62 #621645 #625916
square
#166233 #161F62 #621645 #625916
split-complementary
#166233 #591662 #62161F
monochromatic
#06190D #0B3019 #166233 #21944D #2CC667
Accessibility & contrast
On white
7.42
#166233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#166233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166233
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166233 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#595336
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166233; /* rgb */ color: rgb(22, 98, 51); /* oklch */ color: oklch(43.9% 0.105 151.5);
Tailwind
colors: {
custom: {
50: '#608f6b',
500: '#166233',
950: '#000000',
},
}SCSS
$custom: #166233; $custom-light: #608f6b; $custom-dark: #000000;
JSON
{
"hex": "#166233",
"rgb": {
"r": 22,
"g": 98,
"b": 51
},
"hsl": {
"h": 142.895,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43892,
"c": 0.10499,
"h": 151.5
},
"luminance": 0.09145
}Semantic roles & 50–950 ramp
primary
#166233
secondary
#993B75
accent
#41A7E6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A