#D5BD4E#D5BD4E

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

Color values

HEX#D5BD4E
RGBrgb(213, 189, 78)
HSLhsl(49, 62%, 57%)
HSVhsv(49, 63%, 84%)
CMYKcmyk(0%, 11.3%, 63.4%, 16.5%)
CIE-LABlab(76.74, -4.29, 57.54)
CIE-LCHlch(76.74, 57.70, 94.27°)
OKLaboklab(79.8% -0.0162 0.1312)
OKLCHoklch(79.8% 0.132 97.1)
XYZxyz(47.0154, 51.0936, 14.5918)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BD4E #4E66D5
analogous
#D5794E #D5BD4E #AAD54E
triadic
#D5BD4E #4ED5BD #BD4ED5
tetradic
#D5BD4E #4ED579 #4E66D5 #D54EAA
square
#D5BD4E #4ED579 #4E66D5 #D54EAA
split-complementary
#D5BD4E #4EAAD5 #794ED5
monochromatic
#887620 #BAA12C #D5BD4E #E1CF7F #ECE2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BD4E#FFFFFF#000000##000000
##D5BD4E1.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)
#CFB941
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#E5B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bd4e;
/* rgb */ color: rgb(213, 189, 78);
/* oklch */ color: oklch(79.8% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#e5d084',
    500: '#d5bd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d5bd4e;
$custom-light: #e5d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bd4e",
  "rgb": {
    "r": 213,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 49.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79801,
    "c": 0.13218,
    "h": 97.1
  },
  "luminance": 0.51091
}

Semantic roles & 50–950 ramp

primary
#D5BD4E
secondary
#39488F
accent
#60E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D5BD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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