#D4BD4D#D4BD4D

#D4BD4D is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.7% C 0.133 H 97.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D4BD4D
RGBrgb(212, 189, 77)
HSLhsl(50, 61%, 57%)
HSVhsv(50, 64%, 83%)
CMYKcmyk(0%, 10.8%, 63.7%, 16.9%)
CIE-LABlab(76.64, -4.78, 57.84)
CIE-LCHlch(76.64, 58.04, 94.72°)
OKLaboklab(79.7% -0.0177 0.1317)
OKLCHoklch(79.7% 0.133 97.7)
XYZxyz(46.6906, 50.9302, 14.3909)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD4D #4D64D4
analogous
#D47A4D #D4BD4D #A8D44D
triadic
#D4BD4D #4DD4BD #BD4DD4
tetradic
#D4BD4D #4DD47A #4D64D4 #D44DA8
square
#D4BD4D #4DD47A #4D64D4 #D44DA8
split-complementary
#D4BD4D #4DA8D4 #7A4DD4
monochromatic
#867520 #B7A02C #D4BD4D #E0CF7E #ECE2B0

Accessibility & contrast

On white

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

On black

11.19
#D4BD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD4D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD4D#FFFFFF#000000##000000
##D4BD4D1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D5C053
Tritanopia (blue-blind)
#E4B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bd4d;
/* rgb */ color: rgb(212, 189, 77);
/* oklch */ color: oklch(79.7% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#e4d084',
    500: '#d4bd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd4d;
$custom-light: #e4d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd4d",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 77
  },
  "hsl": {
    "h": 49.778,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79699,
    "c": 0.13288,
    "h": 97.7
  },
  "luminance": 0.50928
}

Semantic roles & 50–950 ramp

primary
#D4BD4D
secondary
#38478D
accent
#5FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D4BD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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