#D4BC4F#D4BC4F

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

Color values

HEX#D4BC4F
RGBrgb(212, 188, 79)
HSLhsl(49, 61%, 57%)
HSVhsv(49, 63%, 83%)
CMYKcmyk(0%, 11.3%, 62.7%, 16.9%)
CIE-LABlab(76.39, -4.13, 56.71)
CIE-LCHlch(76.39, 56.86, 94.17°)
OKLaboklab(79.51% -0.0156 0.1296)
OKLCHoklch(79.51% 0.131 96.9)
XYZxyz(46.5479, 50.5302, 14.6971)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC4F #4F67D4
analogous
#D47A4F #D4BC4F #AAD44F
triadic
#D4BC4F #4FD4BC #BC4FD4
tetradic
#D4BC4F #4FD47A #4F67D4 #D44FAA
square
#D4BC4F #4FD47A #4F67D4 #D44FAA
split-complementary
#D4BC4F #4FAAD4 #7A4FD4
monochromatic
#877521 #B99F2D #D4BC4F #E0CF80 #ECE1B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BC4F#FFFFFF#000000##000000
##D4BC4F1.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)
#CDB843
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#E4AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bc4f;
/* rgb */ color: rgb(212, 188, 79);
/* oklch */ color: oklch(79.5% 0.131 96.9);
Tailwind
colors: {
  custom: {
    50: '#e4cf85',
    500: '#d4bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc4f;
$custom-light: #e4cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc4f",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 49.173,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79512,
    "c": 0.13051,
    "h": 96.9
  },
  "luminance": 0.50528
}

Semantic roles & 50–950 ramp

primary
#D4BC4F
secondary
#39498E
accent
#61E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D4BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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