#D4BC52#D4BC52

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

Color values

HEX#D4BC52
RGBrgb(212, 188, 82)
HSLhsl(49, 60%, 58%)
HSVhsv(49, 61%, 83%)
CMYKcmyk(0%, 11.3%, 61.3%, 16.9%)
CIE-LABlab(76.42, -3.93, 55.40)
CIE-LCHlch(76.42, 55.54, 94.06°)
OKLaboklab(79.54% -0.0147 0.1272)
OKLCHoklch(79.54% 0.128 96.6)
XYZxyz(46.6596, 50.5749, 15.2852)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC52 #526AD4
analogous
#D47B52 #D4BC52 #ABD452
triadic
#D4BC52 #52D4BC #BC52D4
tetradic
#D4BC52 #52D47B #526AD4 #D452AB
square
#D4BC52 #52D47B #526AD4 #D452AB
split-complementary
#D4BC52 #52ABD4 #7B52D4
monochromatic
#897622 #BAA12E #D4BC52 #E0CF83 #ECE2B4

Accessibility & contrast

On white

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

On black

11.11
#D4BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BC52
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BC52#FFFFFF#000000##000000
##D4BC521.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#E4AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bc52;
/* rgb */ color: rgb(212, 188, 82);
/* oklch */ color: oklch(79.5% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#e4cf87',
    500: '#d4bc52',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc52;
$custom-light: #e4cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc52",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 48.923,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79542,
    "c": 0.12806,
    "h": 96.6
  },
  "luminance": 0.50573
}

Semantic roles & 50–950 ramp

primary
#D4BC52
secondary
#3B4A90
accent
#62E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D4BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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