#D8BF4B#D8BF4B

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

Color values

HEX#D8BF4B
RGBrgb(216, 191, 75)
HSLhsl(49, 64%, 57%)
HSVhsv(49, 65%, 85%)
CMYKcmyk(0%, 11.6%, 65.3%, 15.3%)
CIE-LABlab(77.50, -4.24, 59.73)
CIE-LCHlch(77.50, 59.88, 94.06°)
OKLaboklab(80.46% -0.0166 0.1353)
OKLCHoklch(80.46% 0.136 97)
XYZxyz(48.2219, 52.3709, 14.2238)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF4B #4B64D8
analogous
#D8794B #D8BF4B #AAD84B
triadic
#D8BF4B #4BD8BF #BF4BD8
tetradic
#D8BF4B #4BD879 #4B64D8 #D84BAA
square
#D8BF4B #4BD879 #4B64D8 #D84BAA
split-complementary
#D8BF4B #4BAAD8 #794BD8
monochromatic
#8B771E #BDA329 #D8BF4B #E3D17D #EEE3B0

Accessibility & contrast

On white

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

On black

11.47
#D8BF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF4B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF4B#FFFFFF#000000##000000
##D8BF4B1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bf4b;
/* rgb */ color: rgb(216, 191, 75);
/* oklch */ color: oklch(80.5% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#e7d283',
    500: '#d8bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf4b;
$custom-light: #e7d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf4b",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 49.362,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80464,
    "c": 0.1363,
    "h": 97
  },
  "luminance": 0.52369
}

Semantic roles & 50–950 ramp

primary
#D8BF4B
secondary
#374790
accent
#5EE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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