#D8BD4E#D8BD4E

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

Color values

HEX#D8BD4E
RGBrgb(216, 189, 78)
HSLhsl(48, 64%, 58%)
HSVhsv(48, 64%, 85%)
CMYKcmyk(0%, 12.5%, 63.9%, 15.3%)
CIE-LABlab(77.01, -3.02, 57.92)
CIE-LCHlch(77.01, 57.99, 92.99°)
OKLaboklab(80.08% -0.0128 0.1319)
OKLCHoklch(80.08% 0.133 95.5)
XYZxyz(47.8938, 51.5466, 14.6330)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD4E #4E69D8
analogous
#D8784E #D8BD4E #AED84E
triadic
#D8BD4E #4ED8BD #BD4ED8
tetradic
#D8BD4E #4ED878 #4E69D8 #D84EAE
square
#D8BD4E #4ED878 #4E69D8 #D84EAE
split-complementary
#D8BD4E #4EAED8 #784ED8
monochromatic
#8D771F #BFA22A #D8BD4E #E3D080 #EEE2B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BD4E#FFFFFF#000000##000000
##D8BD4E1.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)
#CFB941
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#E8AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd4e;
/* rgb */ color: rgb(216, 189, 78);
/* oklch */ color: oklch(80.1% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#e7d084',
    500: '#d8bd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd4e;
$custom-light: #e7d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd4e",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 48.261,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80082,
    "c": 0.13251,
    "h": 95.5
  },
  "luminance": 0.51544
}

Semantic roles & 50–950 ramp

primary
#D8BD4E
secondary
#384A92
accent
#61E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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