#D8BD4D#D8BD4D

#D8BD4D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.1% C 0.133 H 95.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D8BD4D
RGBrgb(216, 189, 77)
HSLhsl(48, 64%, 57%)
HSVhsv(48, 64%, 85%)
CMYKcmyk(0%, 12.5%, 64.4%, 15.3%)
CIE-LABlab(77.00, -3.08, 58.34)
CIE-LCHlch(77.00, 58.42, 93.03°)
OKLaboklab(80.07% -0.0131 0.1326)
OKLCHoklch(80.07% 0.133 95.6)
XYZxyz(47.8582, 51.5323, 14.4456)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD4D #4D68D8
analogous
#D8774D #D8BD4D #AED84D
triadic
#D8BD4D #4DD8BD #BD4DD8
tetradic
#D8BD4D #4DD877 #4D68D8 #D84DAE
square
#D8BD4D #4DD877 #4D68D8 #D84DAE
split-complementary
#D8BD4D #4DAED8 #774DD8
monochromatic
#8C771F #BEA12A #D8BD4D #E3D07F #EEE2B1

Accessibility & contrast

On white

1.86
#D8BD4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D8BD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD4D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD4D#FFFFFF#000000##000000
##D8BD4D1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#E8AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd4d;
/* rgb */ color: rgb(216, 189, 77);
/* oklch */ color: oklch(80.1% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#e7d084',
    500: '#d8bd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd4d;
$custom-light: #e7d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd4d",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 77
  },
  "hsl": {
    "h": 48.345,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80072,
    "c": 0.13328,
    "h": 95.6
  },
  "luminance": 0.5153
}

Semantic roles & 50–950 ramp

primary
#D8BD4D
secondary
#374992
accent
#61E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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