#D8BE4B#D8BE4B

#D8BE4B is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.3% C 0.136 H 96.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D8BE4B
RGBrgb(216, 190, 75)
HSLhsl(49, 64%, 57%)
HSVhsv(49, 65%, 85%)
CMYKcmyk(0%, 12%, 65.3%, 15.3%)
CIE-LABlab(77.24, -3.72, 59.46)
CIE-LCHlch(77.24, 59.57, 93.58°)
OKLaboklab(80.26% -0.0151 0.1347)
OKLCHoklch(80.26% 0.136 96.4)
XYZxyz(48.0046, 51.9362, 14.1514)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE4B #4B65D8
analogous
#D8774B #D8BE4B #ACD84B
triadic
#D8BE4B #4BD8BE #BE4BD8
tetradic
#D8BE4B #4BD877 #4B65D8 #D84BAC
square
#D8BE4B #4BD877 #4B65D8 #D84BAC
split-complementary
#D8BE4B #4BACD8 #774BD8
monochromatic
#8B771E #BDA229 #D8BE4B #E3D07D #EEE2B0

Accessibility & contrast

On white

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

On black

11.39
#D8BE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE4B
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE4B#FFFFFF#000000##000000
##D8BE4B1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3D
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#E8B0A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be4b;
/* rgb */ color: rgb(216, 190, 75);
/* oklch */ color: oklch(80.3% 0.136 96.4);
Tailwind
colors: {
  custom: {
    50: '#e7d183',
    500: '#d8be4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8be4b;
$custom-light: #e7d183;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be4b",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 75
  },
  "hsl": {
    "h": 48.936,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80259,
    "c": 0.13555,
    "h": 96.4
  },
  "luminance": 0.51934
}

Semantic roles & 50–950 ramp

primary
#D8BE4B
secondary
#374790
accent
#5FE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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