#D5BC5F#D5BC5F

#D5BC5F is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.117 H 94.5°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D5BC5F
RGBrgb(213, 188, 95)
HSLhsl(47, 58%, 60%)
HSVhsv(47, 55%, 84%)
CMYKcmyk(0%, 11.7%, 55.4%, 16.5%)
CIE-LABlab(76.64, -2.56, 49.65)
CIE-LCHlch(76.64, 49.72, 92.96°)
OKLaboklab(79.78% -0.0093 0.1164)
OKLCHoklch(79.78% 0.117 94.5)
XYZxyz(47.4912, 50.9410, 18.1553)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC5F #5F78D5
analogous
#D5815F #D5BC5F #B3D55F
triadic
#D5BC5F #5FD5BC #BC5FD5
tetradic
#D5BC5F #5FD581 #5F78D5 #D55FB3
square
#D5BC5F #5FD581 #5F78D5 #D55FB3
split-complementary
#D5BC5F #5FB3D5 #815FD5
monochromatic
#937C27 #C3A533 #D5BC5F #E2D08F #EEE5C0

Accessibility & contrast

On white

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

On black

11.19
#D5BC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC5F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC5F#FFFFFF#000000##000000
##D5BC5F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D3C063
Tritanopia (blue-blind)
#E4B0A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bc5f;
/* rgb */ color: rgb(213, 188, 95);
/* oklch */ color: oklch(79.8% 0.117 94.5);
Tailwind
colors: {
  custom: {
    50: '#e4cf8f',
    500: '#d5bc5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc5f;
$custom-light: #e4cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc5f",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 47.288,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79782,
    "c": 0.11676,
    "h": 94.5
  },
  "luminance": 0.50939
}

Semantic roles & 50–950 ramp

primary
#D5BC5F
secondary
#405398
accent
#43C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130D
muted
#84837F

Preview Lab

Preview with #D5BC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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