Olivedrab
olivedrab · #6B8E23
HEX
#6B8E23
RGB
rgb(107, 142, 35)
CMYK
cmyk(25%, 0%, 75%, 44%)
HSL
hsl(80, 60%, 35%)
LAB
lab(54.6, -28.2, 49.7)
What is Olivedrab?
Olivedrab is the olivedrab reference in the CSS Named Colors. Its sRGB value is #6B8E23 (rgb 107, 142, 35). It sits in the green family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Olivedrab as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Olivedrab
An 11-step tonal scale derived from Olivedrab (#6B8E23). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#F3F6ED
#F3F6ED
100
#E7EDDC
#E7EDDC
200
#D0DBB9
#D0DBB9
300
#B5C791
#B5C791
400
#90AA5A
#90AA5A
500
#6B8E23
#6B8E23
600
#5B791E
#5B791E
700
#465C17
#465C17
800
#304010
#304010
900
#1B2409
#1B2409
950
#0D1104
#0D1104
Lighter tints (mixed with white)
15%
#8FA671
30%
#AABA98
45%
#C1CBB5
60%
#D4DBCC
75%
#E5E9E1
Darker shades (mixed with black)
15%
#638420
30%
#5A781C
45%
#506C18
60%
#455C13
75%
#364A0D
Color harmonies for Olivedrab
Classic color-theory harmonies derived from rotating the hue of Olivedrab. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#6B8E23
#6B8E23
#47248F
#47248F
Triadic
Three colors 120° apart
#6B8E23
#6B8E23
#246B8F
#246B8F
#8F246B
#8F246B
Analogous
Two neighbors ±30° on the wheel
#8F7D24
#8F7D24
#6B8E23
#6B8E23
#368F24
#368F24
Split-complementary
Base + two colors flanking its complement
#6B8E23
#6B8E23
#24368F
#24368F
#7D248F
#7D248F
Tetradic
Two complementary pairs
#6B8E23
#6B8E23
#248F47
#248F47
#47248F
#47248F
#8F246B
#8F246B
Square
Four colors evenly spaced 90° apart
#6B8E23
#6B8E23
#248F7D
#248F7D
#47248F
#47248F
#8F2436
#8F2436
Olivedrab in every color space
Full conversion of Olivedrab across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#6B8E23
RGB
rgb(107, 142, 35)
CMYK
cmyk(25%, 0%, 75%, 44%)
HSL
hsl(80, 60%, 35%)
HSV
hsv(80, 75%, 56%)
HWB
hwb(80 14% 44%)
CIE Lab
lab(54.6 -28.2 49.7)
OKLCH
oklch(59.9% 0.137 126.3)
XYZ (D65)
xyz(16.04, 22.59, 5.11)
Copy-ready code for Olivedrab
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #6B8E23;
background-color: #6B8E23;CSS variable
:root {
--color-olivedrab: #6B8E23;
}Tailwind config
// tailwind.config.js
colors: {
'olivedrab': '#6B8E23',
}Sass
$color-olivedrab: #6B8E23;Swift UIColor
UIColor(red: 0.420, green: 0.557, blue: 0.137, alpha: 1.0)Android XML
<color name="olivedrab">#6B8E23</color>Closest match in every color system
The nearest Olivedrab equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 6017
#4C9141
May green
RAL 6018
#57A639
Yellow green
RAL 1020
#999950
Olive yellow
RAL 6024
#308446
Traffic green
RAL 1027
#9D9101
Curry
RAL 6021
#89AC76
Pale green
FAQ about Olivedrab
What is the HEX code for Olivedrab?
Olivedrab (olivedrab) has the HEX code #6B8E23. In RGB it is rgb(107, 142, 35), and in CMYK it is cmyk(25%, 0%, 75%, 44%).
What is the OKLCH value of Olivedrab?
Olivedrab converts to oklch(0.599 0.137 126.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Olivedrab accessible for body text?
Used as a background, Olivedrab has a contrast ratio of 5.52:1 with black text and 3.81:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Olivedrab?
The closest Pantone reference to Olivedrab by ΔE2000 perceptual distance is Pantone 370 C (#658D1B). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Olivedrab?
The closest RAL Classic reference to Olivedrab by ΔE2000 distance is RAL 6017 (May green, #4C9141). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Olivedrab?
The complementary color (180° opposite on the HSL color wheel) of Olivedrab is #47248F. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.