#D9BD51#D9BD51

#D9BD51 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.2% C 0.130 H 94.7°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#D9BD51
RGBrgb(217, 189, 81)
HSLhsl(48, 64%, 58%)
HSVhsv(48, 63%, 85%)
CMYKcmyk(0%, 12.9%, 62.7%, 14.9%)
CIE-LABlab(77.13, -2.41, 56.75)
CIE-LCHlch(77.13, 56.80, 92.43°)
OKLaboklab(80.21% -0.0107 0.1298)
OKLCHoklch(80.21% 0.13 94.7)
XYZxyz(48.3003, 51.7434, 15.2263)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BD51 #516DD9
analogous
#D97951 #D9BD51 #B1D951
triadic
#D9BD51 #51D9BD #BD51D9
tetradic
#D9BD51 #51D979 #516DD9 #D951B1
square
#D9BD51 #51D979 #516DD9 #D951B1
split-complementary
#D9BD51 #51B1D9 #7951D9
monochromatic
#90791F #C2A32A #D9BD51 #E4D083 #EFE3B5

Accessibility & contrast

On white

1.85
#D9BD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#D9BD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BD51
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BD51#FFFFFF#000000##000000
##D9BD511.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#E9AFA6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bd51;
/* rgb */ color: rgb(217, 189, 81);
/* oklch */ color: oklch(80.2% 0.130 94.7);
Tailwind
colors: {
  custom: {
    50: '#e8d086',
    500: '#d9bd51',
    950: '#000000',
  },
}
SCSS
$custom: #d9bd51;
$custom-light: #e8d086;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bd51",
  "rgb": {
    "r": 217,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 47.647,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80206,
    "c": 0.13027,
    "h": 94.7
  },
  "luminance": 0.51741
}

Semantic roles & 50–950 ramp

primary
#D9BD51
secondary
#394C95
accent
#63E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BD51

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

Preview Lab → · Contrast checker → · Palette generator →

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