#D8BB50#D8BB50

#D8BB50 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.7% C 0.129 H 94.1°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#D8BB50
RGBrgb(216, 187, 80)
HSLhsl(47, 64%, 58%)
HSVhsv(47, 63%, 85%)
CMYKcmyk(0%, 13.4%, 63%, 15.3%)
CIE-LABlab(76.51, -1.85, 56.50)
CIE-LCHlch(76.51, 56.53, 91.88°)
OKLaboklab(79.69% -0.0092 0.1292)
OKLCHoklch(79.69% 0.129 94.1)
XYZxyz(47.5394, 50.7212, 14.8740)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB50 #506DD8
analogous
#D87750 #D8BB50 #B1D850
triadic
#D8BB50 #50D8BB #BB50D8
tetradic
#D8BB50 #50D877 #506DD8 #D850B1
square
#D8BB50 #50D877 #506DD8 #D850B1
split-complementary
#D8BB50 #50B1D8 #7750D8
monochromatic
#8E7620 #C0A02B #D8BB50 #E3CE82 #EEE2B4

Accessibility & contrast

On white

1.88
#D8BB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#D8BB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BB50
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BB50#FFFFFF#000000##000000
##D8BB501.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB844
Deuteranopia (green-blind)
#D4C155
Tritanopia (blue-blind)
#E8ADA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bb50;
/* rgb */ color: rgb(216, 187, 80);
/* oklch */ color: oklch(79.7% 0.129 94.1);
Tailwind
colors: {
  custom: {
    50: '#e7cf85',
    500: '#d8bb50',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb50;
$custom-light: #e7cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb50",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 80
  },
  "hsl": {
    "h": 47.206,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79693,
    "c": 0.12949,
    "h": 94.1
  },
  "luminance": 0.50719
}

Semantic roles & 50–950 ramp

primary
#D8BB50
secondary
#394C94
accent
#64E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BB50

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

Preview Lab → · Contrast checker → · Palette generator →

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