#D8BD4C#D8BD4C

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

Color values

HEX#D8BD4C
RGBrgb(216, 189, 76)
HSLhsl(48, 64%, 57%)
HSVhsv(48, 65%, 85%)
CMYKcmyk(0%, 12.5%, 64.8%, 15.3%)
CIE-LABlab(76.99, -3.14, 58.76)
CIE-LCHlch(76.99, 58.85, 93.06°)
OKLaboklab(80.06% -0.0134 0.1334)
OKLCHoklch(80.06% 0.134 95.7)
XYZxyz(47.8232, 51.5183, 14.2611)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD4C #4C67D8
analogous
#D8774C #D8BD4C #ADD84C
triadic
#D8BD4C #4CD8BD #BD4CD8
tetradic
#D8BD4C #4CD877 #4C67D8 #D84CAD
square
#D8BD4C #4CD877 #4C67D8 #D84CAD
split-complementary
#D8BD4C #4CADD8 #774CD8
monochromatic
#8B761E #BEA129 #D8BD4C #E3D07E #EEE2B1

Accessibility & contrast

On white

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

On black

11.30
#D8BD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD4C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD4C#FFFFFF#000000##000000
##D8BD4C1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bd4c;
/* rgb */ color: rgb(216, 189, 76);
/* oklch */ color: oklch(80.1% 0.134 95.7);
Tailwind
colors: {
  custom: {
    50: '#e7d083',
    500: '#d8bd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd4c;
$custom-light: #e7d083;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd4c",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 48.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80063,
    "c": 0.13405,
    "h": 95.7
  },
  "luminance": 0.51516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8BD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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