#D5BC57#D5BC57

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

Color values

HEX#D5BC57
RGBrgb(213, 188, 87)
HSLhsl(48, 60%, 59%)
HSVhsv(48, 59%, 84%)
CMYKcmyk(0%, 11.7%, 59.2%, 16.5%)
CIE-LABlab(76.56, -3.17, 53.31)
CIE-LCHlch(76.56, 53.40, 93.40°)
OKLaboklab(79.69% -0.0119 0.1234)
OKLCHoklch(79.69% 0.124 95.5)
XYZxyz(47.1460, 50.8029, 16.3376)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC57 #5770D5
analogous
#D57D57 #D5BC57 #AFD557
triadic
#D5BC57 #57D5BC #BC57D5
tetradic
#D5BC57 #57D57D #5770D5 #D557AF
square
#D5BC57 #57D57D #5770D5 #D557AF
split-complementary
#D5BC57 #57AFD5 #7D57D5
monochromatic
#8E7924 #BFA330 #D5BC57 #E1D088 #EDE3B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BC57#FFFFFF#000000##000000
##D5BC571.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)
#CDB84D
Deuteranopia (green-blind)
#D4C05C
Tritanopia (blue-blind)
#E5AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bc57;
/* rgb */ color: rgb(213, 188, 87);
/* oklch */ color: oklch(79.7% 0.124 95.5);
Tailwind
colors: {
  custom: {
    50: '#e5cf8a',
    500: '#d5bc57',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc57;
$custom-light: #e5cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc57",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 48.095,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79689,
    "c": 0.12394,
    "h": 95.5
  },
  "luminance": 0.50801
}

Semantic roles & 50–950 ramp

primary
#D5BC57
secondary
#3C4E94
accent
#64E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BC57

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

Preview Lab → · Contrast checker → · Palette generator →

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