#D9BC54#D9BC54

#D9BC54 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.127 H 93.7°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D9BC54
RGBrgb(217, 188, 84)
HSLhsl(47, 64%, 59%)
HSVhsv(47, 61%, 85%)
CMYKcmyk(0%, 13.4%, 61.3%, 14.9%)
CIE-LABlab(76.90, -1.69, 55.16)
CIE-LCHlch(76.90, 55.18, 91.76°)
OKLaboklab(80.03% -0.0083 0.1268)
OKLCHoklch(80.03% 0.127 93.7)
XYZxyz(48.2009, 51.3607, 15.7605)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC54 #5471D9
analogous
#D97A54 #D9BC54 #B4D954
triadic
#D9BC54 #54D9BC #BC54D9
tetradic
#D9BC54 #54D97A #5471D9 #D954B4
square
#D9BC54 #54D97A #5471D9 #D954B4
split-complementary
#D9BC54 #54B4D9 #7A54D9
monochromatic
#927920 #C4A32C #D9BC54 #E4D086 #EFE3B8

Accessibility & contrast

On white

1.86
#D9BC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#D9BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC54
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC54#FFFFFF#000000##000000
##D9BC541.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB949
Deuteranopia (green-blind)
#D5C259
Tritanopia (blue-blind)
#E9AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc54;
/* rgb */ color: rgb(217, 188, 84);
/* oklch */ color: oklch(80.0% 0.127 93.7);
Tailwind
colors: {
  custom: {
    50: '#e8cf88',
    500: '#d9bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc54;
$custom-light: #e8cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc54",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 46.917,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80032,
    "c": 0.1271,
    "h": 93.7
  },
  "luminance": 0.51358
}

Semantic roles & 50–950 ramp

primary
#D9BC54
secondary
#3A4E97
accent
#65E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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