#D5BC4F#D5BC4F

#D5BC4F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.6% C 0.131 H 96.4°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#D5BC4F
RGBrgb(213, 188, 79)
HSLhsl(49, 61%, 57%)
HSVhsv(49, 63%, 84%)
CMYKcmyk(0%, 11.7%, 62.9%, 16.5%)
CIE-LABlab(76.48, -3.71, 56.83)
CIE-LCHlch(76.48, 56.95, 93.73°)
OKLaboklab(79.61% -0.0144 0.1298)
OKLCHoklch(79.61% 0.131 96.4)
XYZxyz(46.8371, 50.6793, 14.7106)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC4F #4F68D5
analogous
#D5794F #D5BC4F #ABD54F
triadic
#D5BC4F #4FD5BC #BC4FD5
tetradic
#D5BC4F #4FD579 #4F68D5 #D54FAB
square
#D5BC4F #4FD579 #4F68D5 #D54FAB
split-complementary
#D5BC4F #4FABD5 #794FD5
monochromatic
#897521 #BAA02C #D5BC4F #E1CF80 #EDE2B2

Accessibility & contrast

On white

1.89
#D5BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#D5BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC4F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC4F#FFFFFF#000000##000000
##D5BC4F1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB843
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#E5AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bc4f;
/* rgb */ color: rgb(213, 188, 79);
/* oklch */ color: oklch(79.6% 0.131 96.4);
Tailwind
colors: {
  custom: {
    50: '#e5cf85',
    500: '#d5bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc4f;
$custom-light: #e5cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc4f",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 48.806,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79605,
    "c": 0.13061,
    "h": 96.4
  },
  "luminance": 0.50677
}

Semantic roles & 50–950 ramp

primary
#D5BC4F
secondary
#39498F
accent
#61E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D5BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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