#D8BF54#D8BF54

#D8BF54 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.129 H 96.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#D8BF54
RGBrgb(216, 191, 84)
HSLhsl(49, 63%, 59%)
HSVhsv(49, 61%, 85%)
CMYKcmyk(0%, 11.6%, 61.1%, 15.3%)
CIE-LABlab(77.58, -3.67, 55.89)
CIE-LCHlch(77.58, 56.01, 93.76°)
OKLaboklab(80.55% -0.0139 0.1284)
OKLCHoklch(80.55% 0.129 96.2)
XYZxyz(48.5520, 52.5029, 15.9625)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF54 #546DD8
analogous
#D87D54 #D8BF54 #AFD854
triadic
#D8BF54 #54D8BF #BF54D8
tetradic
#D8BF54 #54D87D #546DD8 #D854AF
square
#D8BF54 #54D87D #546DD8 #D854AF
split-complementary
#D8BF54 #54AFD8 #7D54D8
monochromatic
#917B21 #C2A62C #D8BF54 #E3D286 #EFE4B8

Accessibility & contrast

On white

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

On black

11.50
#D8BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF54
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF54#FFFFFF#000000##000000
##D8BF541.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bf54;
/* rgb */ color: rgb(216, 191, 84);
/* oklch */ color: oklch(80.6% 0.129 96.2);
Tailwind
colors: {
  custom: {
    50: '#e7d288',
    500: '#d8bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf54;
$custom-light: #e7d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf54",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 48.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80552,
    "c": 0.12917,
    "h": 96.2
  },
  "luminance": 0.52501
}

Semantic roles & 50–950 ramp

primary
#D8BF54
secondary
#3A4C96
accent
#61E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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