#D9BB51#D9BB51

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

Color values

HEX#D9BB51
RGBrgb(217, 187, 81)
HSLhsl(47, 64%, 58%)
HSVhsv(47, 63%, 85%)
CMYKcmyk(0%, 13.8%, 62.7%, 14.9%)
CIE-LABlab(76.61, -1.37, 56.19)
CIE-LCHlch(76.61, 56.21, 91.39°)
OKLaboklab(79.8% -0.0077 0.1286)
OKLCHoklch(79.8% 0.129 93.4)
XYZxyz(47.8730, 50.8889, 15.0839)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB51 #516FD9
analogous
#D97751 #D9BB51 #B3D951
triadic
#D9BB51 #51D9BB #BB51D9
tetradic
#D9BB51 #51D977 #516FD9 #D951B3
square
#D9BB51 #51D977 #516FD9 #D951B3
split-complementary
#D9BB51 #51B3D9 #7751D9
monochromatic
#90771F #C2A12A #D9BB51 #E4CF83 #EFE2B5

Accessibility & contrast

On white

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

On black

11.18
#D9BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB51
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB51#FFFFFF#000000##000000
##D9BB511.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9bb51;
/* rgb */ color: rgb(217, 187, 81);
/* oklch */ color: oklch(79.8% 0.129 93.4);
Tailwind
colors: {
  custom: {
    50: '#e8cf86',
    500: '#d9bb51',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb51;
$custom-light: #e8cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb51",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 46.765,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79798,
    "c": 0.12885,
    "h": 93.4
  },
  "luminance": 0.50886
}

Semantic roles & 50–950 ramp

primary
#D9BB51
secondary
#394D95
accent
#65E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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