#166127#166127
#166127 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.4% C 0.116 H 147.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #166127 |
|---|---|
| RGB | rgb(22, 97, 39) |
| HSL | hsl(134, 63%, 23%) |
| HSV | hsv(134, 77%, 38%) |
| CMYK | cmyk(77.3%, 0%, 59.8%, 62%) |
| CIE-LAB | lab(35.72, -35.96, 26.40) |
| CIE-LCH | lch(35.72, 44.61, 143.72°) |
| OKLab | oklab(43.39% -0.0969 0.0629) |
| OKLCH | oklch(43.39% 0.116 147) |
| XYZ | xyz(4.9714, 8.8659, 3.3683) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.97
Deep Green
#02590F
ΔE00 4.07
Pine
#2B5D34
ΔE00 4.45
Spruce
#0A5F38
ΔE00 5.03
Forest
#0B5509
ΔE00 5.22
Darkgreen
#006400
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166127 #611650
analogous
#2A6116 #166127 #16614C
triadic
#166127 #271661 #612716
tetradic
#166127 #162A61 #611650 #614C16
square
#166127 #162A61 #611650 #614C16
split-complementary
#166127 #4C1661 #61162A
monochromatic
#06190A #0B2F13 #166127 #21933B #2DC54F
Accessibility & contrast
On white
7.57
#166127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#166127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166127
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166127 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625821
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #166127; /* rgb */ color: rgb(22, 97, 39); /* oklch */ color: oklch(43.4% 0.116 147.0);
Tailwind
colors: {
custom: {
50: '#608f63',
500: '#166127',
950: '#000000',
},
}SCSS
$custom: #166127; $custom-light: #608f63; $custom-dark: #000000;
JSON
{
"hex": "#166127",
"rgb": {
"r": 22,
"g": 97,
"b": 39
},
"hsl": {
"h": 133.6,
"s": 63.025,
"l": 23.333
},
"oklch": {
"l": 0.4339,
"c": 0.11551,
"h": 147
},
"luminance": 0.08866
}Semantic roles & 50–950 ramp
primary
#166127
secondary
#983B83
accent
#42C1E6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79