#D8BD52#D8BD52

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

Color values

HEX#D8BD52
RGBrgb(216, 189, 82)
HSLhsl(48, 63%, 58%)
HSVhsv(48, 62%, 85%)
CMYKcmyk(0%, 12.5%, 62%, 15.3%)
CIE-LABlab(77.04, -2.77, 56.19)
CIE-LCHlch(77.04, 56.26, 92.82°)
OKLaboklab(80.12% -0.0116 0.1288)
OKLCHoklch(80.12% 0.129 95.1)
XYZxyz(48.0416, 51.6057, 15.4114)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD52 #526DD8
analogous
#D87A52 #D8BD52 #B0D852
triadic
#D8BD52 #52D8BD #BD52D8
tetradic
#D8BD52 #52D87A #526DD8 #D852B0
square
#D8BD52 #52D87A #526DD8 #D852B0
split-complementary
#D8BD52 #52B0D8 #7A52D8
monochromatic
#8F7920 #C1A32C #D8BD52 #E3D084 #EFE3B6

Accessibility & contrast

On white

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

On black

11.32
#D8BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD52
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD52#FFFFFF#000000##000000
##D8BD521.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bd52;
/* rgb */ color: rgb(216, 189, 82);
/* oklch */ color: oklch(80.1% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#e7d087',
    500: '#d8bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd52;
$custom-light: #e7d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd52",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 47.91,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80121,
    "c": 0.12932,
    "h": 95.1
  },
  "luminance": 0.51603
}

Semantic roles & 50–950 ramp

primary
#D8BD52
secondary
#394C95
accent
#63E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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