Skip to content

Olive Drab (#6B8E23)

The hex code for Olive Drab is #6B8E23. It is rgb(107, 142, 35) in RGB, hsl(80, 60%, 35%) in HSL, and about cmyk(25%, 0%, 75%, 44%) in CMYK — a dark green. Black text is the more readable choice on this background.

#6B8E23
HEX#6B8E23
RGBrgb(107, 142, 35)
HSLhsl(80, 60%, 35%)
HSVhsv(80, 75%, 56%)
CMYKcmyk(25%, 0%, 75%, 44%)
OKLCHoklch(59.9% 0.137 126.3)
LABlab(54.83% -24.55 49.01)
LCHlch(54.83% 54.81 116.61)

Colors Closest to Olive Drab

Olive Drab is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every green in the library.

#6B8E23 Channel Values

How Olive Drab breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 107 · G 142 · B 358-bit channels as sent to the display
HSLH 80° · S 60% · L 35%Easiest model for building lighter and darker variants
HSVH 80° · S 75% · V 56%Matches the picker in most design tools
CMYKC 25% · M 0% · Y 75% · K 44%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.81:1 vs white · 5.52:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Olive Drab background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.81:1AA normal AA large AAA normal
TextBlack text5.52:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #6B8E23 in the contrast checker.

Colors That Go With Olive Drab

Pairings derived from color-wheel relationships. The complementary color sits opposite Olive Drab; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Olive Drab

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #6B8E23.

How Olive Drab Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#6B8E23
Protanopia#898924
Protanomaly#7E8B23
Deuteranopia#848427
Deuteranomaly#7B8825
Tritanopia#758686
Tritanomaly#71896C
Achromatopsia#838383

Test a full palette in the color blindness simulator.

Using #6B8E23 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--olive-drab: #6B8E23;
CSS backgroundbackground-color: #6B8E23;
Tailwind configcolors: { 'olive-drab': '#6B8E23' }
SwiftUIColor(red: 0.420, green: 0.557, blue: 0.137)
Android XML<color name="olive_drab">#6B8E23</color>
SVG fillfill="#6B8E23"

More Green Colors

Olive Drab sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#6B8E23 Frequently Asked Questions

What is the hex code for Olive Drab?

The hex code for Olive Drab is #6B8E23. That is rgb(107, 142, 35) in RGB, hsl(80, 60%, 35%) in HSL, and approximately cmyk(25%, 0%, 75%, 44%) in CMYK.

What is the RGB value of #6B8E23?

#6B8E23 is rgb(107, 142, 35) — red 107, green 142, and blue 35 on the 0-255 scale.

What is the CMYK value of #6B8E23?

#6B8E23 converts to approximately cmyk(25%, 0%, 75%, 44%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #6B8E23 be black or white?

Black text is the more readable choice. #6B8E23 scores 3.81:1 against white and 5.52:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is OliveDrab a CSS named color?

Yes. OliveDrab is one of the CSS named colors, so you can write color: olivedrab instead of the hex code.

Open Olive Drab in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.