HueWiz / Colors / Olive
#808000

Olive

Olive is a vivid, fully saturated, dark warm yellow (#808000).

Build palettes with Olive →

Using Olive in your designs

Olive reads as a vivid, fully saturated yellow with a warm temperament. Colors in this range are commonly associated with optimism, caution and visibility, which makes olive a natural fit for highlights, warning states and youthful, energetic branding.

Olive is bright enough that it pairs better with dark text than white: black type on olive hits 5.01:1 — past the WCAG AA threshold — while white manages only 4.20:1. It shines as a section background, card fill or subtle highlight where a full-strength accent would shout.

For pairings, the complement of olive sits at 240° — #000080, close to navy — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same warm temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for olive in the palettes below, with copy-ready codes.

Olive color palettes

Every palette below is computed from olive's position on the color wheel (hue 60°). Hover any swatch to see its code; click to copy.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Tints and shades of Olive

Tints mix olive toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.

Shades → base → tints

Contrast & accessibility

WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how olive performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).

PairingRatioNormal textLarge text
White text on Olive4.20:1FailAA
Black text on Olive5.01:1AAAAA
Protanopia#80801F
Deuteranopia#808026
Tritanopia#80373D

Olive in code

Copy-ready snippets. In CSS you can also use the keyword olive directly.

:root {
  --olive: #808000;
  --olive-rgb: 128, 128, 0;
  --olive-tint: #B9B973;
  --olive-shade: #464600;
}

.btn-olive {
  background: var(--olive);
  color: #000000;
}
// tailwind.config.js
colors: {
  'olive': {
    DEFAULT: '#808000',
    light: '#B9B973',
    dark: '#464600',
  },
}

Colors similar to Olive

The closest CSS named colors by perceptual (Lab) distance.

← PreviousoldlaceNext →olivedrab
Copied