#D8BE54#D8BE54

#D8BE54 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.128 H 95.6°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D8BE54
RGBrgb(216, 190, 84)
HSLhsl(48, 63%, 59%)
HSVhsv(48, 61%, 85%)
CMYKcmyk(0%, 12%, 61.1%, 15.3%)
CIE-LABlab(77.32, -3.15, 55.60)
CIE-LCHlch(77.32, 55.69, 93.25°)
OKLaboklab(80.35% -0.0124 0.1278)
OKLCHoklch(80.35% 0.128 95.6)
XYZxyz(48.3347, 52.0683, 15.8900)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE54 #546ED8
analogous
#D87C54 #D8BE54 #B0D854
triadic
#D8BE54 #54D8BE #BE54D8
tetradic
#D8BE54 #54D87C #546ED8 #D854B0
square
#D8BE54 #54D87C #546ED8 #D854B0
split-complementary
#D8BE54 #54B0D8 #7C54D8
monochromatic
#917B21 #C2A52C #D8BE54 #E3D186 #EFE4B8

Accessibility & contrast

On white

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

On black

11.41
#D8BE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE54
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE54#FFFFFF#000000##000000
##D8BE541.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8be54;
/* rgb */ color: rgb(216, 190, 84);
/* oklch */ color: oklch(80.3% 0.128 95.6);
Tailwind
colors: {
  custom: {
    50: '#e7d188',
    500: '#d8be54',
    950: '#000000',
  },
}
SCSS
$custom: #d8be54;
$custom-light: #e7d188;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be54",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 84
  },
  "hsl": {
    "h": 48.182,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80347,
    "c": 0.12841,
    "h": 95.6
  },
  "luminance": 0.52066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8BE54

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

Preview Lab → · Contrast checker → · Palette generator →

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