#166815#166815
#166815 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.139 H 142.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #166815 |
|---|---|
| RGB | rgb(22, 104, 21) |
| HSL | hsl(119, 66%, 25%) |
| HSV | hsv(119, 80%, 41%) |
| CMYK | cmyk(78.8%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.07, -40.63, 37.31) |
| CIE-LCH | lch(38.07, 55.16, 137.44°) |
| OKLab | oklab(45.28% -0.1103 0.084) |
| OKLCH | oklch(45.28% 0.139 142.7) |
| XYZ | xyz(5.4162, 10.1247, 2.3781) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.22
Deep Green
#02590F
ΔE00 4.98
Forest
#0B5509
ΔE00 6.08
Forest Green
#2D5A27
ΔE00 6.99
Darkish Green
#287C37
ΔE00 7.61
Tree Green
#2A7E19
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166815 #671568
analogous
#406815 #166815 #15683E
triadic
#166815 #151668 #681516
tetradic
#166815 #154068 #671568 #683E15
square
#166815 #154068 #671568 #683E15
split-complementary
#166815 #3E1568 #681540
monochromatic
#051905 #0B350B #166815 #219B1F #2CCE2A
Accessibility & contrast
On white
6.94
#166815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#166815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166815
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166815 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166815; /* rgb */ color: rgb(22, 104, 21); /* oklch */ color: oklch(45.3% 0.139 142.7);
Tailwind
colors: {
custom: {
50: '#639459',
500: '#166815',
950: '#000000',
},
}SCSS
$custom: #166815; $custom-light: #639459; $custom-dark: #000000;
JSON
{
"hex": "#166815",
"rgb": {
"r": 22,
"g": 104,
"b": 21
},
"hsl": {
"h": 119.277,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.45277,
"c": 0.13867,
"h": 142.7
},
"luminance": 0.10125
}Semantic roles & 50–950 ramp
primary
#166815
secondary
#9E3A9F
accent
#3EE9E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79