#D8BD54#D8BD54

#D8BD54 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.1% C 0.128 H 94.9°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D8BD54
RGBrgb(216, 189, 84)
HSLhsl(48, 63%, 59%)
HSVhsv(48, 61%, 85%)
CMYKcmyk(0%, 12.5%, 61.1%, 15.3%)
CIE-LABlab(77.06, -2.63, 55.32)
CIE-LCHlch(77.06, 55.38, 92.73°)
OKLaboklab(80.14% -0.0109 0.1272)
OKLCHoklch(80.14% 0.128 94.9)
XYZxyz(48.1188, 51.6366, 15.8181)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD54 #546FD8
analogous
#D87B54 #D8BD54 #B1D854
triadic
#D8BD54 #54D8BD #BD54D8
tetradic
#D8BD54 #54D87B #546FD8 #D854B1
square
#D8BD54 #54D87B #546FD8 #D854B1
split-complementary
#D8BD54 #54B1D8 #7B54D8
monochromatic
#917A21 #C2A42C #D8BD54 #E3D086 #EFE3B8

Accessibility & contrast

On white

1.85
#D8BD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#D8BD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD54
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD54#FFFFFF#000000##000000
##D8BD541.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB949
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#E8B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd54;
/* rgb */ color: rgb(216, 189, 84);
/* oklch */ color: oklch(80.1% 0.128 94.9);
Tailwind
colors: {
  custom: {
    50: '#e7d088',
    500: '#d8bd54',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd54;
$custom-light: #e7d088;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd54",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 47.727,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80142,
    "c": 0.12767,
    "h": 94.9
  },
  "luminance": 0.51634
}

Semantic roles & 50–950 ramp

primary
#D8BD54
secondary
#3A4D96
accent
#63E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BD54

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

Preview Lab → · Contrast checker → · Palette generator →

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