#D5BC54#D5BC54

#D5BC54 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.127 H 95.9°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#D5BC54
RGBrgb(213, 188, 84)
HSLhsl(48, 61%, 58%)
HSVhsv(48, 61%, 84%)
CMYKcmyk(0%, 11.7%, 60.6%, 16.5%)
CIE-LABlab(76.53, -3.38, 54.65)
CIE-LCHlch(76.53, 54.75, 93.54°)
OKLaboklab(79.66% -0.0129 0.1259)
OKLCHoklch(79.66% 0.127 95.9)
XYZxyz(47.0260, 50.7549, 15.7054)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC54 #546DD5
analogous
#D57B54 #D5BC54 #ADD554
triadic
#D5BC54 #54D5BC #BC54D5
tetradic
#D5BC54 #54D57B #546DD5 #D554AD
square
#D5BC54 #54D57B #546DD5 #D554AD
split-complementary
#D5BC54 #54ADD5 #7B54D5
monochromatic
#8C7822 #BDA22E #D5BC54 #E1CF85 #EDE3B6

Accessibility & contrast

On white

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

On black

11.15
#D5BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC54
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC54#FFFFFF#000000##000000
##D5BC541.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bc54;
/* rgb */ color: rgb(213, 188, 84);
/* oklch */ color: oklch(79.7% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#e5cf88',
    500: '#d5bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc54;
$custom-light: #e5cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc54",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 48.372,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79656,
    "c": 0.12651,
    "h": 95.9
  },
  "luminance": 0.50753
}

Semantic roles & 50–950 ramp

primary
#D5BC54
secondary
#3B4C92
accent
#63E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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