#D9BA4A#D9BA4A

#D9BA4A is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.134 H 93.6°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D9BA4A
RGBrgb(217, 186, 74)
HSLhsl(47, 65%, 57%)
HSVhsv(47, 66%, 85%)
CMYKcmyk(0%, 14.3%, 65.9%, 14.9%)
CIE-LABlab(76.29, -1.28, 58.90)
CIE-LCHlch(76.29, 58.92, 91.24°)
OKLaboklab(79.53% -0.0083 0.1334)
OKLCHoklch(79.53% 0.134 93.6)
XYZxyz(47.4125, 50.3665, 13.7016)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA4A #4A69D9
analogous
#D9734A #D9BA4A #B1D94A
triadic
#D9BA4A #4AD9BA #BA4AD9
tetradic
#D9BA4A #4AD973 #4A69D9 #D94AB1
square
#D9BA4A #4AD973 #4A69D9 #D94AB1
split-complementary
#D9BA4A #4AB1D9 #734AD9
monochromatic
#8B731D #BE9D28 #D9BA4A #E4CD7D #EEE1AF

Accessibility & contrast

On white

1.90
#D9BA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#D9BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA4A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA4A#FFFFFF#000000##000000
##D9BA4A1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#EAACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba4a;
/* rgb */ color: rgb(217, 186, 74);
/* oklch */ color: oklch(79.5% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#e8ce82',
    500: '#d9ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba4a;
$custom-light: #e8ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba4a",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 46.993,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79527,
    "c": 0.13361,
    "h": 93.6
  },
  "luminance": 0.50364
}

Semantic roles & 50–950 ramp

primary
#D9BA4A
secondary
#364A91
accent
#64E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D9BA4A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D9BA4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva