#D5BC48#D5BC48

#D5BC48 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.5% C 0.136 H 97.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D5BC48
RGBrgb(213, 188, 72)
HSLhsl(49, 63%, 56%)
HSVhsv(49, 66%, 84%)
CMYKcmyk(0%, 11.7%, 66.2%, 16.5%)
CIE-LABlab(76.43, -4.14, 59.78)
CIE-LCHlch(76.43, 59.92, 93.96°)
OKLaboklab(79.54% -0.0165 0.135)
OKLCHoklch(79.54% 0.136 97)
XYZxyz(46.5956, 50.5827, 13.4387)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC48 #4861D5
analogous
#D57548 #D5BC48 #A7D548
triadic
#D5BC48 #48D5BC #BC48D5
tetradic
#D5BC48 #48D575 #4861D5 #D548A7
square
#D5BC48 #48D575 #4861D5 #D548A7
split-complementary
#D5BC48 #48A7D5 #7548D5
monochromatic
#84721E #B69D2A #D5BC48 #E0CE7A #ECE0AC

Accessibility & contrast

On white

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

On black

11.12
#D5BC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC48
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC48#FFFFFF#000000##000000
##D5BC481.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#E5AEA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5bc48;
/* rgb */ color: rgb(213, 188, 72);
/* oklch */ color: oklch(79.5% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#e5cf81',
    500: '#d5bc48',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc48;
$custom-light: #e5cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc48",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 49.362,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7954,
    "c": 0.136,
    "h": 97
  },
  "luminance": 0.5058
}

Semantic roles & 50–950 ramp

primary
#D5BC48
secondary
#36458B
accent
#5FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D5BC48

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

Preview Lab → · Contrast checker → · Palette generator →

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