#D9C556#D9C556

#D9C556 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.132 H 99.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D9C556
RGBrgb(217, 197, 86)
HSLhsl(51, 63%, 59%)
HSVhsv(51, 60%, 85%)
CMYKcmyk(0%, 9.2%, 60.4%, 14.9%)
CIE-LABlab(79.25, -6.21, 56.86)
CIE-LCHlch(79.25, 57.20, 96.24°)
OKLaboklab(81.9% -0.0211 0.1307)
OKLCHoklch(81.9% 0.132 99.2)
XYZxyz(50.2632, 55.3583, 16.8399)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C556 #566AD9
analogous
#D98456 #D9C556 #ABD956
triadic
#D9C556 #56D9C5 #C556D9
tetradic
#D9C556 #56D984 #566AD9 #D956AB
square
#D9C556 #56D984 #566AD9 #D956AB
split-complementary
#D9C556 #56ABD9 #8456D9
monochromatic
#938221 #C5AE2C #D9C556 #E4D688 #EFE7BA

Accessibility & contrast

On white

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

On black

12.07
#D9C556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C556
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C556#FFFFFF#000000##000000
##D9C5561.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c556;
/* rgb */ color: rgb(217, 197, 86);
/* oklch */ color: oklch(81.9% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#e8d68a',
    500: '#d9c556',
    950: '#000000',
  },
}
SCSS
$custom: #d9c556;
$custom-light: #e8d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c556",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 50.84,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.13243,
    "h": 99.2
  },
  "luminance": 0.55356
}

Semantic roles & 50–950 ramp

primary
#D9C556
secondary
#3B4998
accent
#5BE641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C556

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

Preview Lab → · Contrast checker → · Palette generator →

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