#D4BC4C#D4BC4C

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

Color values

HEX#D4BC4C
RGBrgb(212, 188, 76)
HSLhsl(49, 61%, 56%)
HSVhsv(49, 64%, 83%)
CMYKcmyk(0%, 11.3%, 64.2%, 16.9%)
CIE-LABlab(76.37, -4.32, 57.99)
CIE-LCHlch(76.37, 58.15, 94.26°)
OKLaboklab(79.48% -0.0165 0.1319)
OKLCHoklch(79.48% 0.133 97.1)
XYZxyz(46.4412, 50.4875, 14.1349)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC4C #4C64D4
analogous
#D4784C #D4BC4C #A8D44C
triadic
#D4BC4C #4CD4BC #BC4CD4
tetradic
#D4BC4C #4CD478 #4C64D4 #D44CA8
square
#D4BC4C #4CD478 #4C64D4 #D44CA8
split-complementary
#D4BC4C #4CA8D4 #784CD4
monochromatic
#867420 #B79E2C #D4BC4C #E0CE7D #ECE1AF

Accessibility & contrast

On white

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

On black

11.10
#D4BC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BC4C
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BC4C#FFFFFF#000000##000000
##D4BC4C1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bc4c;
/* rgb */ color: rgb(212, 188, 76);
/* oklch */ color: oklch(79.5% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#e4cf83',
    500: '#d4bc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc4c;
$custom-light: #e4cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc4c",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 76
  },
  "hsl": {
    "h": 49.412,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79483,
    "c": 0.13288,
    "h": 97.1
  },
  "luminance": 0.50485
}

Semantic roles & 50–950 ramp

primary
#D4BC4C
secondary
#38478C
accent
#60E443
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D4BC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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