#D9BC5A#D9BC5A

#D9BC5A is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.1% C 0.122 H 93.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D9BC5A
RGBrgb(217, 188, 90)
HSLhsl(46, 63%, 60%)
HSVhsv(46, 59%, 85%)
CMYKcmyk(0%, 13.4%, 58.5%, 14.9%)
CIE-LABlab(76.96, -1.27, 52.47)
CIE-LCHlch(76.96, 52.48, 91.39°)
OKLaboklab(80.1% -0.0064 0.1218)
OKLCHoklch(80.1% 0.122 93)
XYZxyz(48.4460, 51.4587, 17.0516)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC5A #5A77D9
analogous
#D97C5A #D9BC5A #B7D95A
triadic
#D9BC5A #5AD9BC #BC5AD9
tetradic
#D9BC5A #5AD97C #5A77D9 #D95AB7
square
#D9BC5A #5AD97C #5A77D9 #D95AB7
split-complementary
#D9BC5A #5AB7D9 #7C5AD9
monochromatic
#967C23 #C8A52E #D9BC5A #E4D08C #F0E4BD

Accessibility & contrast

On white

1.86
#D9BC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#D9BC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC5A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC5A#FFFFFF#000000##000000
##D9BC5A1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB950
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#E9AFA6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc5a;
/* rgb */ color: rgb(217, 188, 90);
/* oklch */ color: oklch(80.1% 0.122 93.0);
Tailwind
colors: {
  custom: {
    50: '#e8cf8c',
    500: '#d9bc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc5a;
$custom-light: #e8cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc5a",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 46.299,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80098,
    "c": 0.122,
    "h": 93
  },
  "luminance": 0.51456
}

Semantic roles & 50–950 ramp

primary
#D9BC5A
secondary
#3C529B
accent
#43CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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