#D4BC5F#D4BC5F

#D4BC5F is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.117 H 95.1°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#D4BC5F
RGBrgb(212, 188, 95)
HSLhsl(48, 58%, 60%)
HSVhsv(48, 55%, 83%)
CMYKcmyk(0%, 11.3%, 55.2%, 16.9%)
CIE-LABlab(76.55, -2.98, 49.52)
CIE-LCHlch(76.55, 49.61, 93.44°)
OKLaboklab(79.69% -0.0104 0.1161)
OKLCHoklch(79.69% 0.117 95.1)
XYZxyz(47.2020, 50.7918, 18.1417)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC5F #5F77D4
analogous
#D4815F #D4BC5F #B2D45F
triadic
#D4BC5F #5FD4BC #BC5FD4
tetradic
#D4BC5F #5FD481 #5F77D4 #D45FB2
square
#D4BC5F #5FD481 #5F77D4 #D45FB2
split-complementary
#D4BC5F #5FB2D4 #815FD4
monochromatic
#917C27 #C2A534 #D4BC5F #E1D08F #EEE4BF

Accessibility & contrast

On white

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

On black

11.16
#D4BC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BC5F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BC5F#FFFFFF#000000##000000
##D4BC5F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#D3C063
Tritanopia (blue-blind)
#E3B0A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bc5f;
/* rgb */ color: rgb(212, 188, 95);
/* oklch */ color: oklch(79.7% 0.117 95.1);
Tailwind
colors: {
  custom: {
    50: '#e4cf8f',
    500: '#d4bc5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc5f;
$custom-light: #e4cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc5f",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 47.692,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79689,
    "c": 0.1166,
    "h": 95.1
  },
  "luminance": 0.5079
}

Semantic roles & 50–950 ramp

primary
#D4BC5F
secondary
#405297
accent
#42C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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