#D8BE4D#D8BE4D

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

Color values

HEX#D8BE4D
RGBrgb(216, 190, 77)
HSLhsl(49, 64%, 57%)
HSVhsv(49, 64%, 85%)
CMYKcmyk(0%, 12%, 64.4%, 15.3%)
CIE-LABlab(77.26, -3.60, 58.62)
CIE-LCHlch(77.26, 58.73, 93.52°)
OKLaboklab(80.28% -0.0146 0.1332)
OKLCHoklch(80.28% 0.134 96.2)
XYZxyz(48.0741, 51.9640, 14.5176)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE4D #4D67D8
analogous
#D8794D #D8BE4D #ACD84D
triadic
#D8BE4D #4DD8BE #BE4DD8
tetradic
#D8BE4D #4DD879 #4D67D8 #D84DAC
square
#D8BE4D #4DD879 #4D67D8 #D84DAC
split-complementary
#D8BE4D #4DACD8 #794DD8
monochromatic
#8C771F #BEA22A #D8BE4D #E3D07F #EEE3B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BE4D#FFFFFF#000000##000000
##D8BE4D1.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)
#D0BA40
Deuteranopia (green-blind)
#D7C253
Tritanopia (blue-blind)
#E8B0A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be4d;
/* rgb */ color: rgb(216, 190, 77);
/* oklch */ color: oklch(80.3% 0.134 96.2);
Tailwind
colors: {
  custom: {
    50: '#e7d184',
    500: '#d8be4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8be4d;
$custom-light: #e7d184;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be4d",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 77
  },
  "hsl": {
    "h": 48.777,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80277,
    "c": 0.13402,
    "h": 96.2
  },
  "luminance": 0.51962
}

Semantic roles & 50–950 ramp

primary
#D8BE4D
secondary
#374892
accent
#60E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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