#D5BD4D#D5BD4D

#D5BD4D is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.8% C 0.133 H 97.1°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D5BD4D
RGBrgb(213, 189, 77)
HSLhsl(49, 62%, 57%)
HSVhsv(49, 64%, 84%)
CMYKcmyk(0%, 11.3%, 63.8%, 16.5%)
CIE-LABlab(76.73, -4.35, 57.97)
CIE-LCHlch(76.73, 58.13, 94.30°)
OKLaboklab(79.79% -0.0165 0.1319)
OKLCHoklch(79.79% 0.133 97.1)
XYZxyz(46.9798, 51.0794, 14.4045)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BD4D #4D65D5
analogous
#D5794D #D5BD4D #A9D54D
triadic
#D5BD4D #4DD5BD #BD4DD5
tetradic
#D5BD4D #4DD579 #4D65D5 #D54DA9
square
#D5BD4D #4DD579 #4D65D5 #D54DA9
split-complementary
#D5BD4D #4DA9D5 #794DD5
monochromatic
#887520 #B9A02C #D5BD4D #E1CF7F #ECE2B0

Accessibility & contrast

On white

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

On black

11.22
#D5BD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BD4D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BD4D#FFFFFF#000000##000000
##D5BD4D1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#E5B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bd4d;
/* rgb */ color: rgb(213, 189, 77);
/* oklch */ color: oklch(79.8% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#e5d084',
    500: '#d5bd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d5bd4d;
$custom-light: #e5d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bd4d",
  "rgb": {
    "r": 213,
    "g": 189,
    "b": 77
  },
  "hsl": {
    "h": 49.412,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79792,
    "c": 0.13296,
    "h": 97.1
  },
  "luminance": 0.51077
}

Semantic roles & 50–950 ramp

primary
#D5BD4D
secondary
#38478E
accent
#5FE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D5BD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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