#D9C554#D9C554

#D9C554 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.134 H 99.3°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D9C554
RGBrgb(217, 197, 84)
HSLhsl(51, 64%, 59%)
HSVhsv(51, 61%, 85%)
CMYKcmyk(0%, 9.2%, 61.3%, 14.9%)
CIE-LABlab(79.23, -6.35, 57.73)
CIE-LCHlch(79.23, 58.08, 96.28°)
OKLaboklab(81.88% -0.0217 0.1323)
OKLCHoklch(81.88% 0.134 99.3)
XYZxyz(50.1838, 55.3265, 16.4215)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C554 #5468D9
analogous
#D98354 #D9C554 #ABD954
triadic
#D9C554 #54D9C5 #C554D9
tetradic
#D9C554 #54D983 #5468D9 #D954AB
square
#D9C554 #54D983 #5468D9 #D954AB
split-complementary
#D9C554 #54ABD9 #8354D9
monochromatic
#928120 #C4AD2C #D9C554 #E4D686 #EFE7B8

Accessibility & contrast

On white

1.74
#D9C554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D9C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C554
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C554#FFFFFF#000000##000000
##D9C5541.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#DCC75A
Tritanopia (blue-blind)
#E9B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c554;
/* rgb */ color: rgb(217, 197, 84);
/* oklch */ color: oklch(81.9% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#e8d688',
    500: '#d9c554',
    950: '#000000',
  },
}
SCSS
$custom: #d9c554;
$custom-light: #e8d688;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c554",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 50.977,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81878,
    "c": 0.13408,
    "h": 99.3
  },
  "luminance": 0.55324
}

Semantic roles & 50–950 ramp

primary
#D9C554
secondary
#3A4897
accent
#5AE741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C554

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

Preview Lab → · Contrast checker → · Palette generator →

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