#D4BC4B#D4BC4B

#D4BC4B is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.5% C 0.134 H 97.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D4BC4B
RGBrgb(212, 188, 75)
HSLhsl(49, 61%, 56%)
HSVhsv(49, 65%, 83%)
CMYKcmyk(0%, 11.3%, 64.6%, 16.9%)
CIE-LABlab(76.36, -4.38, 58.41)
CIE-LCHlch(76.36, 58.57, 94.29°)
OKLaboklab(79.47% -0.0168 0.1326)
OKLCHoklch(79.47% 0.134 97.2)
XYZxyz(46.4067, 50.4737, 13.9532)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC4B #4B63D4
analogous
#D4784B #D4BC4B #A8D44B
triadic
#D4BC4B #4BD4BC #BC4BD4
tetradic
#D4BC4B #4BD478 #4B63D4 #D44BA8
square
#D4BC4B #4BD478 #4B63D4 #D44BA8
split-complementary
#D4BC4B #4BA8D4 #784BD4
monochromatic
#857320 #B69E2C #D4BC4B #E0CE7C #ECE1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BC4B#FFFFFF#000000##000000
##D4BC4B1.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)
#CEB83D
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#E4AFA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bc4b;
/* rgb */ color: rgb(212, 188, 75);
/* oklch */ color: oklch(79.5% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#e5cf82',
    500: '#d4bc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc4b;
$custom-light: #e5cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc4b",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 75
  },
  "hsl": {
    "h": 49.489,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79474,
    "c": 0.13366,
    "h": 97.2
  },
  "luminance": 0.50471
}

Semantic roles & 50–950 ramp

primary
#D4BC4B
secondary
#38468C
accent
#60E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D4BC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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