#D8BF51#D8BF51

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

Color values

HEX#D8BF51
RGBrgb(216, 191, 81)
HSLhsl(49, 63%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11.6%, 62.5%, 15.3%)
CIE-LABlab(77.55, -3.87, 57.19)
CIE-LCHlch(77.55, 57.32, 93.87°)
OKLaboklab(80.52% -0.0149 0.1308)
OKLCHoklch(80.52% 0.132 96.5)
XYZxyz(48.4370, 52.4569, 15.3568)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF51 #516AD8
analogous
#D87B51 #D8BF51 #ADD851
triadic
#D8BF51 #51D8BF #BF51D8
tetradic
#D8BF51 #51D87B #516AD8 #D851AD
square
#D8BF51 #51D87B #516AD8 #D851AD
split-complementary
#D8BF51 #51ADD8 #7B51D8
monochromatic
#8F7A20 #C1A52B #D8BF51 #E3D183 #EEE4B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BF51#FFFFFF#000000##000000
##D8BF511.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)
#D1BB45
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E8B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf51;
/* rgb */ color: rgb(216, 191, 81);
/* oklch */ color: oklch(80.5% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#e7d286',
    500: '#d8bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf51;
$custom-light: #e7d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf51",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 48.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80521,
    "c": 0.13163,
    "h": 96.5
  },
  "luminance": 0.52455
}

Semantic roles & 50–950 ramp

primary
#D8BF51
secondary
#394A94
accent
#60E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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