#D8BF4C#D8BF4C

#D8BF4C is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.136 H 96.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D8BF4C
RGBrgb(216, 191, 76)
HSLhsl(49, 64%, 57%)
HSVhsv(49, 65%, 85%)
CMYKcmyk(0%, 11.6%, 64.8%, 15.3%)
CIE-LABlab(77.51, -4.18, 59.31)
CIE-LCHlch(77.51, 59.46, 94.03°)
OKLaboklab(80.47% -0.0163 0.1346)
OKLCHoklch(80.47% 0.136 96.9)
XYZxyz(48.2564, 52.3847, 14.4055)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF4C #4C65D8
analogous
#D8794C #D8BF4C #ABD84C
triadic
#D8BF4C #4CD8BF #BF4CD8
tetradic
#D8BF4C #4CD879 #4C65D8 #D84CAB
square
#D8BF4C #4CD879 #4C65D8 #D84CAB
split-complementary
#D8BF4C #4CABD8 #794CD8
monochromatic
#8B781E #BEA329 #D8BF4C #E3D17E #EEE3B1

Accessibility & contrast

On white

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

On black

11.48
#D8BF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF4C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF4C#FFFFFF#000000##000000
##D8BF4C1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3E
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#E8B1A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bf4c;
/* rgb */ color: rgb(216, 191, 76);
/* oklch */ color: oklch(80.5% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#e7d283',
    500: '#d8bf4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf4c;
$custom-light: #e7d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf4c",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 49.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80473,
    "c": 0.13554,
    "h": 96.9
  },
  "luminance": 0.52382
}

Semantic roles & 50–950 ramp

primary
#D8BF4C
secondary
#374791
accent
#5EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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