#D8BE5A#D8BE5A

#D8BE5A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.123 H 94.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D8BE5A
RGBrgb(216, 190, 90)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 58%, 85%)
CMYKcmyk(0%, 12%, 58.3%, 15.3%)
CIE-LABlab(77.38, -2.73, 52.92)
CIE-LCHlch(77.38, 53.00, 92.95°)
OKLaboklab(80.41% -0.0105 0.1228)
OKLCHoklch(80.41% 0.123 94.9)
XYZxyz(48.5798, 52.1663, 17.1811)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE5A #5A74D8
analogous
#D87F5A #D8BE5A #B3D85A
triadic
#D8BE5A #5AD8BE #BE5AD8
tetradic
#D8BE5A #5AD87F #5A74D8 #D85AB3
square
#D8BE5A #5AD87F #5A74D8 #D85AB3
split-complementary
#D8BE5A #5AB3D8 #7F5AD8
monochromatic
#957D23 #C6A72F #D8BE5A #E4D28B #EFE5BD

Accessibility & contrast

On white

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

On black

11.43
#D8BE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE5A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE5A#FFFFFF#000000##000000
##D8BE5A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#D6C35E
Tritanopia (blue-blind)
#E8B1A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be5a;
/* rgb */ color: rgb(216, 190, 90);
/* oklch */ color: oklch(80.4% 0.123 94.9);
Tailwind
colors: {
  custom: {
    50: '#e7d18c',
    500: '#d8be5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8be5a;
$custom-light: #e7d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be5a",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 90
  },
  "hsl": {
    "h": 47.619,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.80412,
    "c": 0.12329,
    "h": 94.9
  },
  "luminance": 0.52164
}

Semantic roles & 50–950 ramp

primary
#D8BE5A
secondary
#3D5099
accent
#64E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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