#D9BB50#D9BB50

#D9BB50 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.130 H 93.6°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D9BB50
RGBrgb(217, 187, 80)
HSLhsl(47, 64%, 58%)
HSVhsv(47, 63%, 85%)
CMYKcmyk(0%, 13.8%, 63.1%, 14.9%)
CIE-LABlab(76.60, -1.43, 56.62)
CIE-LCHlch(76.60, 56.64, 91.45°)
OKLaboklab(79.79% -0.008 0.1294)
OKLCHoklch(79.79% 0.13 93.6)
XYZxyz(47.8358, 50.8740, 14.8879)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB50 #506ED9
analogous
#D97650 #D9BB50 #B3D950
triadic
#D9BB50 #50D9BB #BB50D9
tetradic
#D9BB50 #50D976 #506ED9 #D950B3
square
#D9BB50 #50D976 #506ED9 #D950B3
split-complementary
#D9BB50 #50B3D9 #7650D9
monochromatic
#8F771F #C2A12A #D9BB50 #E4CF82 #EFE2B5

Accessibility & contrast

On white

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

On black

11.17
#D9BB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB50
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB50#FFFFFF#000000##000000
##D9BB501.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9bb50;
/* rgb */ color: rgb(217, 187, 80);
/* oklch */ color: oklch(79.8% 0.130 93.6);
Tailwind
colors: {
  custom: {
    50: '#e8cf85',
    500: '#d9bb50',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb50;
$custom-light: #e8cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb50",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 80
  },
  "hsl": {
    "h": 46.861,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79788,
    "c": 0.12966,
    "h": 93.6
  },
  "luminance": 0.50872
}

Semantic roles & 50–950 ramp

primary
#D9BB50
secondary
#384D95
accent
#65E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BB50

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

Preview Lab → · Contrast checker → · Palette generator →

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