#D9B954#D9B954

#D9B954 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.125 H 91.7°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D9B954
RGBrgb(217, 185, 84)
HSLhsl(46, 64%, 59%)
HSVhsv(46, 61%, 85%)
CMYKcmyk(0%, 14.7%, 61.3%, 14.9%)
CIE-LABlab(76.13, -0.12, 54.30)
CIE-LCHlch(76.13, 54.30, 90.13°)
OKLaboklab(79.42% -0.0038 0.125)
OKLCHoklch(79.42% 0.125 91.7)
XYZxyz(47.5667, 50.0922, 15.5491)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B954 #5474D9
analogous
#D97754 #D9B954 #B7D954
triadic
#D9B954 #54D9B9 #B954D9
tetradic
#D9B954 #54D977 #5474D9 #D954B7
square
#D9B954 #54D977 #5474D9 #D954B7
split-complementary
#D9B954 #54B7D9 #7754D9
monochromatic
#927720 #C49F2C #D9B954 #E4CD86 #EFE2B8

Accessibility & contrast

On white

1.91
#D9B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D9B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B954
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B954#FFFFFF#000000##000000
##D9B9541.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB649
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#E9ACA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9b954;
/* rgb */ color: rgb(217, 185, 84);
/* oklch */ color: oklch(79.4% 0.125 91.7);
Tailwind
colors: {
  custom: {
    50: '#e8cd88',
    500: '#d9b954',
    950: '#000000',
  },
}
SCSS
$custom: #d9b954;
$custom-light: #e8cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b954",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 45.564,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.12506,
    "h": 91.7
  },
  "luminance": 0.5009
}

Semantic roles & 50–950 ramp

primary
#D9B954
secondary
#3A5097
accent
#69E741
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9B954

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

Preview Lab → · Contrast checker → · Palette generator →

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