#166E31#166E31
#166E31 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.124 H 148.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #166E31 |
|---|---|
| RGB | rgb(22, 110, 49) |
| HSL | hsl(138, 67%, 26%) |
| HSV | hsv(138, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 55.5%, 56.9%) |
| CIE-LAB | lab(40.48, -39.40, 26.77) |
| CIE-LCH | lch(40.48, 47.63, 145.81°) |
| OKLab | oklab(47.37% -0.1059 0.0644) |
| OKLCH | oklch(47.37% 0.124 148.7) |
| XYZ | xyz(6.4607, 11.5434, 4.7927) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.11
Darkgreen
#006400
ΔE00 6.77
Spruce
#0A5F38
ΔE00 6.83
Jungle Green
#048243
ΔE00 6.97
Pine
#2B5D34
ΔE00 7.01
Forest Green
#2D5A27
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E31 #6E1653
analogous
#276E16 #166E31 #166E5D
triadic
#166E31 #31166E #6E3116
tetradic
#166E31 #16276E #6E1653 #6E5D16
square
#166E31 #16276E #6E1653 #6E5D16
split-complementary
#166E31 #5D166E #6E1627
monochromatic
#051A0B #0C3B1A #166E31 #20A148 #2AD45E
Accessibility & contrast
On white
6.35
#166E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#166E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E31
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E31 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F642C
Deuteranopia (green-blind)
#655D36
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e31; /* rgb */ color: rgb(22, 110, 49); /* oklch */ color: oklch(47.4% 0.124 148.7);
Tailwind
colors: {
custom: {
50: '#63986a',
500: '#166e31',
950: '#000000',
},
}SCSS
$custom: #166e31; $custom-light: #63986a; $custom-dark: #000000;
JSON
{
"hex": "#166e31",
"rgb": {
"r": 22,
"g": 110,
"b": 49
},
"hsl": {
"h": 138.409,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47373,
"c": 0.12396,
"h": 148.7
},
"luminance": 0.11544
}Semantic roles & 50–950 ramp
primary
#166E31
secondary
#A43C84
accent
#3EB5EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A