Skip to main content

Dark Khaki

#BDB76B·yellow family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Dark Khaki (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#BDB76B
RGB
rgb(189, 183, 107)
HSL
hsl(56, 38%, 58%)
OKLCH
oklch(0.767 0.098 105)
CMYK
cmyk(0%, 3%, 43%, 26%)
Luminance:0.4575
CSS var:--color-darkkhaki
Tailwind:bg-[#BDB76B]

Accessibility

Score: 48/100

On White (#FFF)

2.07:1

Fail

On Black (#000)

10.15:1

AAA

On Light Gray (#F5F5F5)

1.9:1

Fail

Best text color on this background:

black10.15:1
Open in Contrast Checker →

Design Applications

Background

background-color: #BDB76B

Text Color

color: #BDB76B

bg-[#BDB76B] text-[#000000]

Accent border card component

border-left: 4px solid #BDB76B

Color Meaning & Psychology

Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.

Industry Usage

Common contexts and industries where Dark Khaki is applied in professional design.

  • Taxi and transportation services
  • Construction and heavy machinery
  • Children's education products and toys
  • Fast food and energy-focused brands
  • Caution and safety signage
  • Summer and outdoor lifestyle brands
  • Optimistic lifestyle and wellness brands
  • Creative agencies emphasizing ideas

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Fails AA Large

3:1 minimum required

UI Components

Check contrast

3:1 for non-text UI

Dark Khaki is a light color. Use black (#000000) text on top of it for maximum readability (10.15:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #BDB76B;

Text

color: #BDB76B;

Border

border: 2px solid #BDB76B;

Box Shadow

box-shadow: 0 4px 20px #BDB76B40;

Gradient

background: linear-gradient(135deg, #BDB76B, #f1e99a);

Tailwind-style

--color-dark-khaki: #BDB76B;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Dark Khaki without a custom config.

Background

bg-[#BDB76B]

Text

text-[#BDB76B]

Border

border-[#BDB76B]

Ring

ring-[#BDB76B]

Fill

fill-[#BDB76B]

From (gradient)

from-[#BDB76B]

Via (gradient)

via-[#BDB76B]

To (gradient)

to-[#BDB76B]

Design Tokens

Ready-to-use Dark Khaki design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-darkkhaki: #BDB76B;
  --color-darkkhaki-rgb: 189, 183, 107;
  --color-darkkhaki-hsl: 56, 38%, 58%;
}

SCSS Variables

$color-darkkhaki: #BDB76B;
$color-darkkhaki-rgb: 189, 183, 107;
$color-darkkhaki-hsl: 56, 38%, 58%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'darkkhaki': '#BDB76B',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-darkkhaki: #BDB76B;
}

JSON Design Token (W3C format)

{
  "darkkhaki": {
    "value": "#BDB76B",
    "type": "color",
    "description": "Dark Khaki — #BDB76B"
  }
}

What Does Dark Khaki Mean? Color Psychology & Cultural Symbolism

Yellow sits at the apex of human visual sensitivity—the wavelength the eye is most efficient at detecting in daylight. Dark Khaki (#BDB76B) occupies this zone with a mid-tone quality that reads as intellect: a color perceived as much as experienced.

  • Across color psychology research, yellow consistently tests high for "optimism" associations, making Dark Khaki a reliable vehicle for intellect in cross-demographic audiences.
  • Brand designers draw on yellow-family tones to project approachability and energy—values that Dark Khaki communicates in a mid-tone key.
  • At 38% saturation, Dark Khaki reads as subdued—neither overwhelming nor passive, landing in the optimism, clarity, intellect, and caution zone with measured confidence.
  • Dark Khaki's mid-tone lightness (58%) shifts its psychological register: a balanced mid-tone that embodies optimism, clarity, intellect, and caution at its most direct.

Use Dark Khaki as a declaration of optimism. In a palette that leads with it, everything else feels deliberate and alive.

How to Use Dark Khaki in Design: Applications, Pairings & Best Practices

Designers who use Dark Khaki effectively treat it like a spotlight: small, directed applications that create energy and focus without overwhelming the visual system.

  • Avoid: body text on white (extremely poor contrast), luxury positioning (gold is the exception), and clinical or medical contexts where precision and calm are paramount.
  • Color harmonies: Dark Khaki's complementary color creates a high-energy split ideal for promotional design; its analogous palette (±30° hue) builds cohesive, monochromatic sophistication.
  • Proportional use: Dark Khaki's subdued quality means it scales well across proportions—from full-bleed backgrounds to single-pixel borders—making it an unusually versatile palette component.
  • Dark Khaki creates strong legibility with black text overlays (10.2:1 contrast ratio), making it a reliable background or surface color in design systems
  • Typography: Dark Khaki as text requires a dark background; its 58% lightness means it provides 2.1:1 contrast on white, not meeting WCAG AA.

Use Dark Khaki as a declaration of optimism. In a palette that leads with it, everything else feels deliberate and alive.

Dark Khaki Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Dark Khaki (#BDB76B) achieves a 10.15:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 45.8%.

  • As text on white (#FFFFFF): 2.07:1 — Fail
  • As text on black (#000000): 10.15:1 — AAA ✓
  • Best text color on Dark Khaki background: Black (#000000) at 10.15:1
  • WCAG 2.1 luminance: 45.8% — above-median luminance—it reads as a light to mid-tone background, compatible with dark text while retaining color personality
  • Dark Khaki qualifies for all text sizes including small body copy (AAA).
  • Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.

For production use, test Dark Khaki against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.

Dark Khaki in Industry: Branding, Design & Market Applications

Dark Khaki's brand positioning falls squarely in the territory of optimism, clarity, intellect, and caution. Industry data supports its strongest performance in education, food, safety & construction categories, where the subdued saturation calibrates the message at a mid-tone, considered level.

  • Food & Beverage: Yellow stimulates appetite and communicates freshness, especially for bakery, dairy, and snack categories. Its association with sunlight and ripe crops makes it an instinctive choice for natural and wholesome food brands. (examples: Chipotle, Sweetgreen, Blue Bottle Coffee) Extremely effective for children's food products; less effective for premium dining where it reads as casual.
  • Education & Children's Products: Yellow is cognitively stimulating and signals playfulness, making it a dominant choice in educational materials, children's toys, and learning apps. It creates an environment of curiosity and creative energy. (examples: Chegg, Khan Academy, Coursera) Combine with blue for a classic educational palette that suggests both warmth and reliability.
  • Safety & Construction: Yellow is the universal signal for visibility and caution. High-visibility vests, construction equipment, and warning signage use yellow because it provides maximum contrast in low-light conditions and stands out in natural environments. This safety connotation can be leveraged in UX for warning states and "proceed with awareness" signals.
  • Brand positioning: Dark Khaki is best suited for brands projecting optimism, creativity, clarity. Categories outside this positioning—body text on white (extremely poor contrast)—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Dark Khaki works effectively in highlights, callout banners, brand accents—contexts where energy serves a secondary but reinforcing role.

For marketers and brand strategists, Dark Khaki is a commitment to optimism, clarity, intellect, and caution. Match it with industries that make that promise and it will pay dividends consistently.

Frequently Asked Questions

What is the hex code for Dark Khaki?
The hex code for Dark Khaki is #BDB76B. Its RGB values are rgb(189, 183, 107) and its HSL values are hsl(56, 38%, 58%).
What does Dark Khaki mean in design?
Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.
Is Dark Khaki WCAG accessible?
Dark Khaki (#BDB76B) does not pass WCAG AA on white (2.07:1 ratio). Use it on dark backgrounds where it achieves 10.15:1. Its overall accessibility score is 48/100.
What colors go well with Dark Khaki?
Dark Khaki pairs well with its complementary color Liberty Purple (#545AA7). Analogous colors like Russet and Platinum also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Dark Khaki used for?
Dark Khaki is commonly used for: Taxi and transportation services; Construction and heavy machinery; Children's education products and toys; Fast food and energy-focused brands; Caution and safety signage.
What are the CSS and Tailwind values for Dark Khaki?
In CSS, use `color: #BDB76B` or `background-color: #BDB76B`. The CSS custom property is `--color-darkkhaki: #BDB76B`. In Tailwind CSS, use the arbitrary value class `bg-[#BDB76B]` for backgrounds or `text-[#BDB76B]` for text.