#D4BD5B#D4BD5B

#D4BD5B is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.8% C 0.121 H 96.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D4BD5B
RGBrgb(212, 189, 91)
HSLhsl(49, 58%, 59%)
HSVhsv(49, 57%, 83%)
CMYKcmyk(0%, 10.8%, 57.1%, 16.9%)
CIE-LABlab(76.77, -3.81, 51.66)
CIE-LCHlch(76.77, 51.81, 94.22°)
OKLaboklab(79.85% -0.0133 0.1203)
OKLCHoklch(79.85% 0.121 96.3)
XYZxyz(47.2391, 51.1497, 17.2801)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD5B #5B72D4
analogous
#D4815B #D4BD5B #AFD45B
triadic
#D4BD5B #5BD4BD #BD5BD4
tetradic
#D4BD5B #5BD481 #5B72D4 #D45BAF
square
#D4BD5B #5BD481 #5B72D4 #D45BAF
split-complementary
#D4BD5B #5BAFD4 #815BD4
monochromatic
#8F7B26 #C0A532 #D4BD5B #E1D18B #EDE4BC

Accessibility & contrast

On white

1.87
#D4BD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#D4BD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD5B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD5B#FFFFFF#000000##000000
##D4BD5B1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB951
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#E3B1A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bd5b;
/* rgb */ color: rgb(212, 189, 91);
/* oklch */ color: oklch(79.8% 0.121 96.3);
Tailwind
colors: {
  custom: {
    50: '#e4d08c',
    500: '#d4bd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd5b;
$custom-light: #e4d08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd5b",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 91
  },
  "hsl": {
    "h": 48.595,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79847,
    "c": 0.12106,
    "h": 96.3
  },
  "luminance": 0.51148
}

Semantic roles & 50–950 ramp

primary
#D4BD5B
secondary
#3E4F95
accent
#64E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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