#D4BD49#D4BD49

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

Color values

HEX#D4BD49
RGBrgb(212, 189, 73)
HSLhsl(50, 62%, 56%)
HSVhsv(50, 66%, 83%)
CMYKcmyk(0%, 10.8%, 65.6%, 16.9%)
CIE-LABlab(76.60, -5.02, 59.52)
CIE-LCHlch(76.60, 59.73, 94.82°)
OKLaboklab(79.66% -0.0188 0.1346)
OKLCHoklch(79.66% 0.136 98)
XYZxyz(46.5537, 50.8755, 13.6698)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD49 #4960D4
analogous
#D47749 #D4BD49 #A5D449
triadic
#D4BD49 #49D4BD #BD49D4
tetradic
#D4BD49 #49D477 #4960D4 #D449A5
square
#D4BD49 #49D477 #4960D4 #D449A5
split-complementary
#D4BD49 #49A5D4 #7749D4
monochromatic
#84731F #B59E2B #D4BD49 #E0CF7B #EBE1AC

Accessibility & contrast

On white

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

On black

11.17
#D4BD49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD49
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD49#FFFFFF#000000##000000
##D4BD491.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bd49;
/* rgb */ color: rgb(212, 189, 73);
/* oklch */ color: oklch(79.7% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e5d081',
    500: '#d4bd49',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd49;
$custom-light: #e5d081;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd49",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 73
  },
  "hsl": {
    "h": 50.072,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79662,
    "c": 0.13594,
    "h": 98
  },
  "luminance": 0.50873
}

Semantic roles & 50–950 ramp

primary
#D4BD49
secondary
#37458A
accent
#5EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D4BD49

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

Preview Lab → · Contrast checker → · Palette generator →

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