#D5BD52#D5BD52

#D5BD52 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.129 H 96.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D5BD52
RGBrgb(213, 189, 82)
HSLhsl(49, 61%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.3%, 61.5%, 16.5%)
CIE-LABlab(76.77, -4.03, 55.81)
CIE-LCHlch(76.77, 55.96, 94.13°)
OKLaboklab(79.84% -0.015 0.1281)
OKLCHoklch(79.84% 0.129 96.7)
XYZxyz(47.1632, 51.1527, 15.3702)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BD52 #526AD5
analogous
#D57C52 #D5BD52 #ABD552
triadic
#D5BD52 #52D5BD #BD52D5
tetradic
#D5BD52 #52D57C #526AD5 #D552AB
square
#D5BD52 #52D57C #526AD5 #D552AB
split-complementary
#D5BD52 #52ABD5 #7C52D5
monochromatic
#8B7822 #BCA22E #D5BD52 #E1D083 #EDE3B4

Accessibility & contrast

On white

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

On black

11.23
#D5BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BD52
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BD52#FFFFFF#000000##000000
##D5BD521.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#E5B0A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bd52;
/* rgb */ color: rgb(213, 189, 82);
/* oklch */ color: oklch(79.8% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#e5d087',
    500: '#d5bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d5bd52;
$custom-light: #e5d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bd52",
  "rgb": {
    "r": 213,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 49.008,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79841,
    "c": 0.12895,
    "h": 96.7
  },
  "luminance": 0.51151
}

Semantic roles & 50–950 ramp

primary
#D5BD52
secondary
#3A4A91
accent
#61E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D5BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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