#D4BC54#D4BC54

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

Color values

HEX#D4BC54
RGBrgb(212, 188, 84)
HSLhsl(49, 60%, 58%)
HSVhsv(49, 60%, 83%)
CMYKcmyk(0%, 11.3%, 60.4%, 16.9%)
CIE-LABlab(76.44, -3.80, 54.52)
CIE-LCHlch(76.44, 54.65, 93.99°)
OKLaboklab(79.56% -0.0141 0.1256)
OKLCHoklch(79.56% 0.126 96.4)
XYZxyz(46.7368, 50.6058, 15.6919)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC54 #546CD4
analogous
#D47C54 #D4BC54 #ACD454
triadic
#D4BC54 #54D4BC #BC54D4
tetradic
#D4BC54 #54D47C #546CD4 #D454AC
square
#D4BC54 #54D47C #546CD4 #D454AC
split-complementary
#D4BC54 #54ACD4 #7C54D4
monochromatic
#8B7723 #BCA12F #D4BC54 #E0CF85 #EDE2B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BC54#FFFFFF#000000##000000
##D4BC541.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)
#CDB849
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#E4AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bc54;
/* rgb */ color: rgb(212, 188, 84);
/* oklch */ color: oklch(79.6% 0.126 96.4);
Tailwind
colors: {
  custom: {
    50: '#e4cf88',
    500: '#d4bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc54;
$custom-light: #e4cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc54",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 48.75,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79563,
    "c": 0.12638,
    "h": 96.4
  },
  "luminance": 0.50604
}

Semantic roles & 50–950 ramp

primary
#D4BC54
secondary
#3B4B91
accent
#62E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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