#166731#166731
#166731 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.3% C 0.114 H 149.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #166731 |
|---|---|
| RGB | rgb(22, 103, 49) |
| HSL | hsl(140, 65%, 25%) |
| HSV | hsv(140, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 52.4%, 59.6%) |
| CIE-LAB | lab(38.01, -36.68, 23.71) |
| CIE-LCH | lch(38.01, 43.67, 147.12°) |
| OKLab | oklab(45.33% -0.0986 0.0576) |
| OKLCH | oklch(45.33% 0.114 149.7) |
| XYZ | xyz(5.7350, 10.0922, 4.5509) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.48
Pine
#2B5D34
ΔE00 4.76
Forest Green
#2D5A27
ΔE00 5.54
Deep Green
#02590F
ΔE00 6.33
Hunter Green
#355E3B
ΔE00 6.41
Darkgreen
#006400
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166731 #67164C
analogous
#246716 #166731 #16675A
triadic
#166731 #311667 #673116
tetradic
#166731 #162467 #67164C #675A16
square
#166731 #162467 #67164C #675A16
split-complementary
#166731 #5A1667 #671624
monochromatic
#05190C #0B3519 #166731 #219949 #2CCC61
Accessibility & contrast
On white
6.96
#166731 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#166731 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166731
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166731 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D2D
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166731; /* rgb */ color: rgb(22, 103, 49); /* oklch */ color: oklch(45.3% 0.114 149.7);
Tailwind
colors: {
custom: {
50: '#61936a',
500: '#166731',
950: '#000000',
},
}SCSS
$custom: #166731; $custom-light: #61936a; $custom-dark: #000000;
JSON
{
"hex": "#166731",
"rgb": {
"r": 22,
"g": 103,
"b": 49
},
"hsl": {
"h": 140,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.45325,
"c": 0.11421,
"h": 149.7
},
"luminance": 0.10093
}Semantic roles & 50–950 ramp
primary
#166731
secondary
#9E3B7D
accent
#40B0E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A