#D4BD47#D4BD47

#D4BD47 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.6% C 0.137 H 98.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D4BD47
RGBrgb(212, 189, 71)
HSLhsl(50, 62%, 55%)
HSVhsv(50, 67%, 83%)
CMYKcmyk(0%, 10.8%, 66.5%, 16.9%)
CIE-LABlab(76.59, -5.14, 60.33)
CIE-LCHlch(76.59, 60.55, 94.87°)
OKLaboklab(79.64% -0.0194 0.1361)
OKLCHoklch(79.64% 0.137 98.1)
XYZxyz(46.4884, 50.8494, 13.3262)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD47 #475ED4
analogous
#D47647 #D4BD47 #A4D447
triadic
#D4BD47 #47D4BD #BD47D4
tetradic
#D4BD47 #47D476 #475ED4 #D447A4
square
#D4BD47 #47D476 #475ED4 #D447A4
split-complementary
#D4BD47 #47A4D4 #7647D4
monochromatic
#82721E #B49D2A #D4BD47 #E0CF79 #EBE1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BD47#FFFFFF#000000##000000
##D4BD471.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)
#CFB838
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#E4AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bd47;
/* rgb */ color: rgb(212, 189, 71);
/* oklch */ color: oklch(79.6% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#e5d080',
    500: '#d4bd47',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd47;
$custom-light: #e5d080;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd47",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 71
  },
  "hsl": {
    "h": 50.213,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79644,
    "c": 0.13743,
    "h": 98.1
  },
  "luminance": 0.50847
}

Semantic roles & 50–950 ramp

primary
#D4BD47
secondary
#364489
accent
#5DE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D4BD47

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

Preview Lab → · Contrast checker → · Palette generator →

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