#D9C557#D9C557

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

Color values

HEX#D9C557
RGBrgb(217, 197, 87)
HSLhsl(51, 63%, 60%)
HSVhsv(51, 60%, 85%)
CMYKcmyk(0%, 9.2%, 59.9%, 14.9%)
CIE-LABlab(79.26, -6.15, 56.43)
CIE-LCHlch(79.26, 56.76, 96.22°)
OKLaboklab(81.91% -0.0207 0.1299)
OKLCHoklch(81.91% 0.132 99.1)
XYZxyz(50.3038, 55.3745, 17.0536)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C557 #576BD9
analogous
#D98457 #D9C557 #ACD957
triadic
#D9C557 #57D9C5 #C557D9
tetradic
#D9C557 #57D984 #576BD9 #D957AC
square
#D9C557 #57D984 #576BD9 #D957AC
split-complementary
#D9C557 #57ACD9 #8457D9
monochromatic
#948221 #C6AE2D #D9C557 #E4D689 #F0E7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C557#FFFFFF#000000##000000
##D9C5571.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)
#D6C04B
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#E9B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c557;
/* rgb */ color: rgb(217, 197, 87);
/* oklch */ color: oklch(81.9% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#e8d68a',
    500: '#d9c557',
    950: '#000000',
  },
}
SCSS
$custom: #d9c557;
$custom-light: #e8d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c557",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 50.769,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81909,
    "c": 0.13159,
    "h": 99.1
  },
  "luminance": 0.55372
}

Semantic roles & 50–950 ramp

primary
#D9C557
secondary
#3B4A99
accent
#5BE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C557

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

Preview Lab → · Contrast checker → · Palette generator →

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