#D9BC4E#D9BC4E

#D9BC4E is a light, vivid yellow. Relative luminance 0.513; OKLCH L 80.0% C 0.132 H 94.4°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D9BC4E
RGBrgb(217, 188, 78)
HSLhsl(47, 65%, 58%)
HSVhsv(47, 64%, 85%)
CMYKcmyk(0%, 13.4%, 64.1%, 14.9%)
CIE-LABlab(76.84, -2.08, 57.76)
CIE-LCHlch(76.84, 57.80, 92.06°)
OKLaboklab(79.97% -0.0101 0.1315)
OKLCHoklch(79.97% 0.132 94.4)
XYZxyz(47.9759, 51.2707, 14.5755)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC4E #4E6BD9
analogous
#D9764E #D9BC4E #B0D94E
triadic
#D9BC4E #4ED9BC #BC4ED9
tetradic
#D9BC4E #4ED976 #4E6BD9 #D94EB0
square
#D9BC4E #4ED976 #4E6BD9 #D94EB0
split-complementary
#D9BC4E #4EB0D9 #764ED9
monochromatic
#8E771F #C0A129 #D9BC4E #E4CF80 #EFE2B3

Accessibility & contrast

On white

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

On black

11.25
#D9BC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC4E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC4E#FFFFFF#000000##000000
##D9BC4E1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB941
Deuteranopia (green-blind)
#D6C153
Tritanopia (blue-blind)
#EAAEA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc4e;
/* rgb */ color: rgb(217, 188, 78);
/* oklch */ color: oklch(80.0% 0.132 94.4);
Tailwind
colors: {
  custom: {
    50: '#e8cf84',
    500: '#d9bc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc4e;
$custom-light: #e8cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc4e",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 47.482,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79972,
    "c": 0.13193,
    "h": 94.4
  },
  "luminance": 0.51268
}

Semantic roles & 50–950 ramp

primary
#D9BC4E
secondary
#384B94
accent
#63E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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