olivedrab (#6b8e23)
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #6b8e23 | |
| RGB | rgb(107 142 35) | |
| HSL | hsl(79.63 60.45% 34.71%) | |
| OKLCH | oklch(0.6 0.14 126.32) | |
| CMYK | cmyk(24.65% 0% 75.35% 44.31%) | |
| Android | #ff6b8e23 |
Names & lists
olivedrab CSS named
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#6b8e23"
Gradient stop
<stop stop-color="#6b8e23"/>
CSS variable + fill
:root { --c: #6b8e23; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6b8e23; background-color: #6b8e23; bg-[#6b8e23]