#166227#166227
#166227 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.117 H 146.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #166227 |
|---|---|
| RGB | rgb(22, 98, 39) |
| HSL | hsl(133, 63%, 24%) |
| HSV | hsv(133, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(36.08, -36.35, 26.82) |
| CIE-LCH | lch(36.08, 45.18, 143.58°) |
| OKLab | oklab(43.69% -0.0979 0.0639) |
| OKLCH | oklch(43.69% 0.117 146.9) |
| XYZ | xyz(5.0644, 9.0518, 3.3993) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.16
Forest Green
#2D5A27
ΔE00 4.19
Pine
#2B5D34
ΔE00 4.68
Spruce
#0A5F38
ΔE00 5.22
Forest
#0B5509
ΔE00 5.36
Darkgreen
#006400
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166227 #621651
analogous
#2B6216 #166227 #16624D
triadic
#166227 #271662 #622716
tetradic
#166227 #162B62 #621651 #624D16
square
#166227 #162B62 #621651 #624D16
split-complementary
#166227 #4D1662 #62162B
monochromatic
#06190A #0B3013 #166227 #21943B #2CC64F
Accessibility & contrast
On white
7.47
#166227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#166227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166227
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166227 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635921
Deuteranopia (green-blind)
#5B522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166227; /* rgb */ color: rgb(22, 98, 39); /* oklch */ color: oklch(43.7% 0.117 146.9);
Tailwind
colors: {
custom: {
50: '#608f63',
500: '#166227',
950: '#000000',
},
}SCSS
$custom: #166227; $custom-light: #608f63; $custom-dark: #000000;
JSON
{
"hex": "#166227",
"rgb": {
"r": 22,
"g": 98,
"b": 39
},
"hsl": {
"h": 133.421,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43688,
"c": 0.1169,
"h": 146.9
},
"luminance": 0.09052
}Semantic roles & 50–950 ramp
primary
#166227
secondary
#993B84
accent
#41C1E6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79