#166915#166915
#166915 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.140 H 142.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #166915 |
|---|---|
| RGB | rgb(22, 105, 21) |
| HSL | hsl(119, 67%, 25%) |
| HSV | hsv(119, 80%, 41%) |
| CMYK | cmyk(79%, 0%, 80%, 58.8%) |
| CIE-LAB | lab(38.42, -40.98, 37.66) |
| CIE-LCH | lch(38.42, 55.66, 137.42°) |
| OKLab | oklab(45.57% -0.1113 0.0847) |
| OKLCH | oklch(45.57% 0.14 142.7) |
| XYZ | xyz(5.5175, 10.3272, 2.4119) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.37
Deep Green
#02590F
ΔE00 5.31
Forest
#0B5509
ΔE00 6.41
Forest Green
#2D5A27
ΔE00 7.26
Darkish Green
#287C37
ΔE00 7.36
Tree Green
#2A7E19
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166915 #681569
analogous
#406915 #166915 #15693E
triadic
#166915 #151669 #691516
tetradic
#166915 #154069 #681569 #693E15
square
#166915 #154069 #681569 #693E15
split-complementary
#166915 #3E1569 #691540
monochromatic
#051A05 #0B360B #166915 #219C1F #2BCF29
Accessibility & contrast
On white
6.85
#166915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#166915 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166915
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166915 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E03
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166915; /* rgb */ color: rgb(22, 105, 21); /* oklch */ color: oklch(45.6% 0.140 142.7);
Tailwind
colors: {
custom: {
50: '#639559',
500: '#166915',
950: '#000000',
},
}SCSS
$custom: #166915; $custom-light: #639559; $custom-dark: #000000;
JSON
{
"hex": "#166915",
"rgb": {
"r": 22,
"g": 105,
"b": 21
},
"hsl": {
"h": 119.286,
"s": 66.667,
"l": 24.706
},
"oklch": {
"l": 0.45574,
"c": 0.13988,
"h": 142.7
},
"luminance": 0.10328
}Semantic roles & 50–950 ramp
primary
#166915
secondary
#9F3AA0
accent
#3EEAE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79