#D8BD50#D8BD50

#D8BD50 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.1% C 0.131 H 95.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D8BD50
RGBrgb(216, 189, 80)
HSLhsl(48, 64%, 58%)
HSVhsv(48, 63%, 85%)
CMYKcmyk(0%, 12.5%, 63%, 15.3%)
CIE-LABlab(77.03, -2.90, 57.06)
CIE-LCHlch(77.03, 57.13, 92.91°)
OKLaboklab(80.1% -0.0122 0.1304)
OKLCHoklch(80.1% 0.131 95.3)
XYZxyz(47.9666, 51.5757, 15.0164)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD50 #506BD8
analogous
#D87950 #D8BD50 #AFD850
triadic
#D8BD50 #50D8BD #BD50D8
tetradic
#D8BD50 #50D879 #506BD8 #D850AF
square
#D8BD50 #50D879 #506BD8 #D850AF
split-complementary
#D8BD50 #50AFD8 #7950D8
monochromatic
#8E7820 #C0A22B #D8BD50 #E3D082 #EEE3B4

Accessibility & contrast

On white

1.86
#D8BD50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D8BD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD50
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD50#FFFFFF#000000##000000
##D8BD501.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB944
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#E8B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd50;
/* rgb */ color: rgb(216, 189, 80);
/* oklch */ color: oklch(80.1% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#e7d085',
    500: '#d8bd50',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd50;
$custom-light: #e7d085;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd50",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 80
  },
  "hsl": {
    "h": 48.088,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80101,
    "c": 0.13093,
    "h": 95.3
  },
  "luminance": 0.51573
}

Semantic roles & 50–950 ramp

primary
#D8BD50
secondary
#394B94
accent
#62E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BD50

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

Preview Lab → · Contrast checker → · Palette generator →

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