#D5BC56#D5BC56

#D5BC56 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.125 H 95.6°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#D5BC56
RGBrgb(213, 188, 86)
HSLhsl(48, 60%, 59%)
HSVhsv(48, 60%, 84%)
CMYKcmyk(0%, 11.7%, 59.6%, 16.5%)
CIE-LABlab(76.55, -3.24, 53.76)
CIE-LCHlch(76.55, 53.85, 93.45°)
OKLaboklab(79.68% -0.0123 0.1242)
OKLCHoklch(79.68% 0.125 95.6)
XYZxyz(47.1055, 50.7867, 16.1239)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC56 #566FD5
analogous
#D57C56 #D5BC56 #AED556
triadic
#D5BC56 #56D5BC #BC56D5
tetradic
#D5BC56 #56D57C #566FD5 #D556AE
square
#D5BC56 #56D57C #566FD5 #D556AE
split-complementary
#D5BC56 #56AED5 #7C56D5
monochromatic
#8D7923 #BEA22F #D5BC56 #E1CF87 #EDE3B8

Accessibility & contrast

On white

1.88
#D5BC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#D5BC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC56
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC56#FFFFFF#000000##000000
##D5BC561.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84B
Deuteranopia (green-blind)
#D4C05B
Tritanopia (blue-blind)
#E5AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bc56;
/* rgb */ color: rgb(213, 188, 86);
/* oklch */ color: oklch(79.7% 0.125 95.6);
Tailwind
colors: {
  custom: {
    50: '#e5cf89',
    500: '#d5bc56',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc56;
$custom-light: #e5cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc56",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 48.189,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79678,
    "c": 0.1248,
    "h": 95.6
  },
  "luminance": 0.50784
}

Semantic roles & 50–950 ramp

primary
#D5BC56
secondary
#3C4D93
accent
#64E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BC56

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

Preview Lab → · Contrast checker → · Palette generator →

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