#D8BE51#D8BE51

#D8BE51 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.131 H 95.9°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D8BE51
RGBrgb(216, 190, 81)
HSLhsl(48, 63%, 58%)
HSVhsv(48, 63%, 85%)
CMYKcmyk(0%, 12%, 62.5%, 15.3%)
CIE-LABlab(77.29, -3.35, 56.91)
CIE-LCHlch(77.29, 57.01, 93.37°)
OKLaboklab(80.32% -0.0134 0.1302)
OKLCHoklch(80.32% 0.131 95.9)
XYZxyz(48.2197, 52.0223, 15.2844)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE51 #516BD8
analogous
#D87A51 #D8BE51 #AFD851
triadic
#D8BE51 #51D8BE #BE51D8
tetradic
#D8BE51 #51D87A #516BD8 #D851AF
square
#D8BE51 #51D87A #516BD8 #D851AF
split-complementary
#D8BE51 #51AFD8 #7A51D8
monochromatic
#8F7920 #C1A42B #D8BE51 #E3D183 #EEE3B5

Accessibility & contrast

On white

1.84
#D8BE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D8BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE51
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE51#FFFFFF#000000##000000
##D8BE511.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8be51;
/* rgb */ color: rgb(216, 190, 81);
/* oklch */ color: oklch(80.3% 0.131 95.9);
Tailwind
colors: {
  custom: {
    50: '#e7d186',
    500: '#d8be51',
    950: '#000000',
  },
}
SCSS
$custom: #d8be51;
$custom-light: #e7d186;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be51",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 48.444,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80316,
    "c": 0.13086,
    "h": 95.9
  },
  "luminance": 0.5202
}

Semantic roles & 50–950 ramp

primary
#D8BE51
secondary
#394B94
accent
#61E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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