#D9BC56#D9BC56

#D9BC56 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.1% C 0.125 H 93.5°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D9BC56
RGBrgb(217, 188, 86)
HSLhsl(47, 63%, 59%)
HSVhsv(47, 60%, 85%)
CMYKcmyk(0%, 13.4%, 60.4%, 14.9%)
CIE-LABlab(76.92, -1.55, 54.27)
CIE-LCHlch(76.92, 54.29, 91.64°)
OKLaboklab(80.05% -0.0077 0.1252)
OKLCHoklch(80.05% 0.125 93.5)
XYZxyz(48.2803, 51.3925, 16.1790)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC56 #5673D9
analogous
#D97B56 #D9BC56 #B4D956
triadic
#D9BC56 #56D9BC #BC56D9
tetradic
#D9BC56 #56D97B #5673D9 #D956B4
square
#D9BC56 #56D97B #5673D9 #D956B4
split-complementary
#D9BC56 #56B4D9 #7B56D9
monochromatic
#937A21 #C5A42C #D9BC56 #E4D088 #EFE4BA

Accessibility & contrast

On white

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

On black

11.28
#D9BC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC56
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC56#FFFFFF#000000##000000
##D9BC561.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9bc56;
/* rgb */ color: rgb(217, 188, 86);
/* oklch */ color: oklch(80.1% 0.125 93.5);
Tailwind
colors: {
  custom: {
    50: '#e8cf89',
    500: '#d9bc56',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc56;
$custom-light: #e8cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc56",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 46.718,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80054,
    "c": 0.12543,
    "h": 93.5
  },
  "luminance": 0.5139
}

Semantic roles & 50–950 ramp

primary
#D9BC56
secondary
#3B5098
accent
#66E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BC56

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

Preview Lab → · Contrast checker → · Palette generator →

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