#D5BD48#D5BD48

#D5BD48 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.137 H 97.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#D5BD48
RGBrgb(213, 189, 72)
HSLhsl(50, 63%, 56%)
HSVhsv(50, 66%, 84%)
CMYKcmyk(0%, 11.3%, 66.2%, 16.5%)
CIE-LABlab(76.69, -4.65, 60.05)
CIE-LCHlch(76.69, 60.23, 94.43°)
OKLaboklab(79.75% -0.018 0.1356)
OKLCHoklch(79.75% 0.137 97.6)
XYZxyz(46.8100, 51.0115, 13.5102)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BD48 #4860D5
analogous
#D57648 #D5BD48 #A6D548
triadic
#D5BD48 #48D5BD #BD48D5
tetradic
#D5BD48 #48D576 #4860D5 #D548A6
square
#D5BD48 #48D576 #4860D5 #D548A6
split-complementary
#D5BD48 #48A6D5 #7648D5
monochromatic
#84731E #B69E2A #D5BD48 #E0CF7A #ECE1AC

Accessibility & contrast

On white

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

On black

11.20
#D5BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BD48
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BD48#FFFFFF#000000##000000
##D5BD481.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB939
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#E5AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bd48;
/* rgb */ color: rgb(213, 189, 72);
/* oklch */ color: oklch(79.7% 0.137 97.6);
Tailwind
colors: {
  custom: {
    50: '#e5d081',
    500: '#d5bd48',
    950: '#000000',
  },
}
SCSS
$custom: #d5bd48;
$custom-light: #e5d081;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bd48",
  "rgb": {
    "r": 213,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 49.787,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.13677,
    "h": 97.6
  },
  "luminance": 0.51009
}

Semantic roles & 50–950 ramp

primary
#D5BD48
secondary
#36458B
accent
#5EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D5BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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