#D4BD4C#D4BD4C

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

Color values

HEX#D4BD4C
RGBrgb(212, 189, 76)
HSLhsl(50, 61%, 56%)
HSVhsv(50, 64%, 83%)
CMYKcmyk(0%, 10.8%, 64.2%, 16.9%)
CIE-LABlab(76.63, -4.84, 58.26)
CIE-LCHlch(76.63, 58.47, 94.75°)
OKLaboklab(79.69% -0.018 0.1324)
OKLCHoklch(79.69% 0.134 97.7)
XYZxyz(46.6555, 50.9162, 14.2064)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD4C #4C63D4
analogous
#D4794C #D4BD4C #A7D44C
triadic
#D4BD4C #4CD4BD #BD4CD4
tetradic
#D4BD4C #4CD479 #4C63D4 #D44CA7
square
#D4BD4C #4CD479 #4C63D4 #D44CA7
split-complementary
#D4BD4C #4CA7D4 #794CD4
monochromatic
#867420 #B79F2C #D4BD4C #E0CF7D #ECE1AF

Accessibility & contrast

On white

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

On black

11.18
#D4BD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD4C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD4C#FFFFFF#000000##000000
##D4BD4C1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bd4c;
/* rgb */ color: rgb(212, 189, 76);
/* oklch */ color: oklch(79.7% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#e4d083',
    500: '#d4bd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd4c;
$custom-light: #e4d083;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd4c",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 49.853,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79689,
    "c": 0.13366,
    "h": 97.7
  },
  "luminance": 0.50914
}

Semantic roles & 50–950 ramp

primary
#D4BD4C
secondary
#38468C
accent
#5FE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D4BD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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