#D8BF52#D8BF52

#D8BF52 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.131 H 96.4°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D8BF52
RGBrgb(216, 191, 82)
HSLhsl(49, 63%, 58%)
HSVhsv(49, 62%, 85%)
CMYKcmyk(0%, 11.6%, 62%, 15.3%)
CIE-LABlab(77.56, -3.80, 56.76)
CIE-LCHlch(77.56, 56.89, 93.83°)
OKLaboklab(80.53% -0.0146 0.13)
OKLCHoklch(80.53% 0.131 96.4)
XYZxyz(48.4748, 52.4720, 15.5558)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF52 #526BD8
analogous
#D87C52 #D8BF52 #AED852
triadic
#D8BF52 #52D8BF #BF52D8
tetradic
#D8BF52 #52D87C #526BD8 #D852AE
square
#D8BF52 #52D87C #526BD8 #D852AE
split-complementary
#D8BF52 #52AED8 #7C52D8
monochromatic
#8F7B20 #C1A52C #D8BF52 #E3D184 #EFE4B6

Accessibility & contrast

On white

1.83
#D8BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D8BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF52
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF52#FFFFFF#000000##000000
##D8BF521.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB46
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#E8B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf52;
/* rgb */ color: rgb(216, 191, 82);
/* oklch */ color: oklch(80.5% 0.131 96.4);
Tailwind
colors: {
  custom: {
    50: '#e7d287',
    500: '#d8bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf52;
$custom-light: #e7d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf52",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 48.806,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80531,
    "c": 0.13082,
    "h": 96.4
  },
  "luminance": 0.5247
}

Semantic roles & 50–950 ramp

primary
#D8BF52
secondary
#394B95
accent
#60E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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