#D4BC48#D4BC48

#D4BC48 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.136 H 97.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D4BC48
RGBrgb(212, 188, 72)
HSLhsl(50, 62%, 56%)
HSVhsv(50, 66%, 83%)
CMYKcmyk(0%, 11.3%, 66%, 16.9%)
CIE-LABlab(76.33, -4.56, 59.65)
CIE-LCHlch(76.33, 59.83, 94.37°)
OKLaboklab(79.45% -0.0176 0.1348)
OKLCHoklch(79.45% 0.136 97.5)
XYZxyz(46.3064, 50.4336, 13.4252)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC48 #4860D4
analogous
#D47648 #D4BC48 #A6D448
triadic
#D4BC48 #48D4BC #BC48D4
tetradic
#D4BC48 #48D476 #4860D4 #D448A6
square
#D4BC48 #48D476 #4860D4 #D448A6
split-complementary
#D4BC48 #48A6D4 #7648D4
monochromatic
#83721F #B49D2A #D4BC48 #E0CE7A #EBE0AB

Accessibility & contrast

On white

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

On black

11.09
#D4BC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BC48
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BC48#FFFFFF#000000##000000
##D4BC481.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bc48;
/* rgb */ color: rgb(212, 188, 72);
/* oklch */ color: oklch(79.4% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#e5cf81',
    500: '#d4bc48',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc48;
$custom-light: #e5cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc48",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 49.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79446,
    "c": 0.13592,
    "h": 97.5
  },
  "luminance": 0.50431
}

Semantic roles & 50–950 ramp

primary
#D4BC48
secondary
#36458A
accent
#5FE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D4BC48

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

Preview Lab → · Contrast checker → · Palette generator →

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