#166F38#166F38
#166F38 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.119 H 151.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #166F38 |
|---|---|
| RGB | rgb(22, 111, 56) |
| HSL | hsl(143, 67%, 26%) |
| HSV | hsv(143, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 49.5%, 56.5%) |
| CIE-LAB | lab(40.94, -38.57, 23.49) |
| CIE-LCH | lch(40.94, 45.16, 148.66°) |
| OKLab | oklab(47.78% -0.1037 0.0574) |
| OKLCH | oklch(47.78% 0.119 151) |
| XYZ | xyz(6.7285, 11.8242, 5.6683) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.32
Spruce
#0A5F38
ΔE00 6.22
Jungle Green
#048243
ΔE00 6.56
Pine
#2B5D34
ΔE00 6.83
Forest Green
#2D5A27
ΔE00 7.86
Hunter Green
#355E3B
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F38 #6F164D
analogous
#216F16 #166F38 #166F64
triadic
#166F38 #38166F #6F3816
tetradic
#166F38 #16216F #6F164D #6F6416
square
#166F38 #16216F #6F164D #6F6416
split-complementary
#166F38 #64166F #6F1621
monochromatic
#051A0D #0C3C1E #166F38 #20A252 #2BD56C
Accessibility & contrast
On white
6.24
#166F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#166F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F38
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F38 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6534
Deuteranopia (green-blind)
#655E3C
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f38; /* rgb */ color: rgb(22, 111, 56); /* oklch */ color: oklch(47.8% 0.119 151.0);
Tailwind
colors: {
custom: {
50: '#63996f',
500: '#166f38',
950: '#000000',
},
}SCSS
$custom: #166f38; $custom-light: #63996f; $custom-dark: #000000;
JSON
{
"hex": "#166f38",
"rgb": {
"r": 22,
"g": 111,
"b": 56
},
"hsl": {
"h": 142.921,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47782,
"c": 0.11851,
"h": 151
},
"luminance": 0.11825
}Semantic roles & 50–950 ramp
primary
#166F38
secondary
#A53C7D
accent
#3EA8EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A