#D9BC49#D9BC49

#D9BC49 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.136 H 94.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#D9BC49
RGBrgb(217, 188, 73)
HSLhsl(48, 65%, 57%)
HSVhsv(48, 66%, 85%)
CMYKcmyk(0%, 13.4%, 66.4%, 14.9%)
CIE-LABlab(76.80, -2.38, 59.86)
CIE-LCHlch(76.80, 59.91, 92.27°)
OKLaboklab(79.93% -0.0116 0.1352)
OKLCHoklch(79.93% 0.136 94.9)
XYZxyz(47.8034, 51.2017, 13.6670)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC49 #4966D9
analogous
#D97449 #D9BC49 #AED949
triadic
#D9BC49 #49D9BC #BC49D9
tetradic
#D9BC49 #49D974 #4966D9 #D949AE
square
#D9BC49 #49D974 #4966D9 #D949AE
split-complementary
#D9BC49 #49AED9 #7449D9
monochromatic
#8B751D #BD9F28 #D9BC49 #E4CF7C #EEE1AE

Accessibility & contrast

On white

1.87
#D9BC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#D9BC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC49
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC49#FFFFFF#000000##000000
##D9BC491.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB83B
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#EAAEA4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc49;
/* rgb */ color: rgb(217, 188, 73);
/* oklch */ color: oklch(79.9% 0.136 94.9);
Tailwind
colors: {
  custom: {
    50: '#e8cf81',
    500: '#d9bc49',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc49;
$custom-light: #e8cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc49",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 73
  },
  "hsl": {
    "h": 47.917,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79926,
    "c": 0.13571,
    "h": 94.9
  },
  "luminance": 0.51199
}

Semantic roles & 50–950 ramp

primary
#D9BC49
secondary
#364891
accent
#61E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D9BC49

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

Preview Lab → · Contrast checker → · Palette generator →

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