#D8BE5B#D8BE5B

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

Color values

HEX#D8BE5B
RGBrgb(216, 190, 91)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 58%, 85%)
CMYKcmyk(0%, 12%, 57.9%, 15.3%)
CIE-LABlab(77.39, -2.66, 52.47)
CIE-LCHlch(77.39, 52.54, 92.90°)
OKLaboklab(80.42% -0.0102 0.122)
OKLCHoklch(80.42% 0.122 94.8)
XYZxyz(48.6227, 52.1835, 17.4068)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE5B #5B75D8
analogous
#D87F5B #D8BE5B #B3D85B
triadic
#D8BE5B #5BD8BE #BE5BD8
tetradic
#D8BE5B #5BD87F #5B75D8 #D85BB3
square
#D8BE5B #5BD87F #5B75D8 #D85BB3
split-complementary
#D8BE5B #5BB3D8 #7F5BD8
monochromatic
#957D23 #C7A72F #D8BE5B #E4D28C #F0E5BE

Accessibility & contrast

On white

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

On black

11.44
#D8BE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE5B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE5B#FFFFFF#000000##000000
##D8BE5B1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8be5b;
/* rgb */ color: rgb(216, 190, 91);
/* oklch */ color: oklch(80.4% 0.122 94.8);
Tailwind
colors: {
  custom: {
    50: '#e7d18c',
    500: '#d8be5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8be5b;
$custom-light: #e7d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be5b",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 91
  },
  "hsl": {
    "h": 47.52,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80423,
    "c": 0.1224,
    "h": 94.8
  },
  "luminance": 0.52181
}

Semantic roles & 50–950 ramp

primary
#D8BE5B
secondary
#3D519A
accent
#40C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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