#166938#166938
#166938 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.0% C 0.110 H 152.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #166938 |
|---|---|
| RGB | rgb(22, 105, 56) |
| HSL | hsl(145, 65%, 25%) |
| HSV | hsv(145, 79%, 41%) |
| CMYK | cmyk(79%, 0%, 46.7%, 58.8%) |
| CIE-LAB | lab(38.83, -36.18, 20.79) |
| CIE-LCH | lch(38.83, 41.73, 150.12°) |
| OKLab | oklab(46.04% -0.0974 0.0512) |
| OKLCH | oklch(46.04% 0.11 152.2) |
| XYZ | xyz(6.0957, 10.5585, 5.4574) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.99
Pine
#2B5D34
ΔE00 4.92
Hunter Green
#355E3B
ΔE00 6.21
Forest Green
#2D5A27
ΔE00 6.46
Darkish Green
#287C37
ΔE00 7.51
Deep Green
#02590F
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166938 #691647
analogous
#1E6916 #166938 #166961
triadic
#166938 #381669 #693816
tetradic
#166938 #161E69 #691647 #696116
square
#166938 #161E69 #691647 #696116
split-complementary
#166938 #611669 #69161E
monochromatic
#05190D #0B361D #166938 #219C53 #2BCE6E
Accessibility & contrast
On white
6.75
#166938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#166938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166938
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166938 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696034
Deuteranopia (green-blind)
#5F593B
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166938; /* rgb */ color: rgb(22, 105, 56); /* oklch */ color: oklch(46.0% 0.110 152.2);
Tailwind
colors: {
custom: {
50: '#62956f',
500: '#166938',
950: '#000000',
},
}SCSS
$custom: #166938; $custom-light: #62956f; $custom-dark: #000000;
JSON
{
"hex": "#166938",
"rgb": {
"r": 22,
"g": 105,
"b": 56
},
"hsl": {
"h": 144.578,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.46039,
"c": 0.11001,
"h": 152.2
},
"luminance": 0.10559
}Semantic roles & 50–950 ramp
primary
#166938
secondary
#9F3B76
accent
#3FA3E8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A