#D9C558#D9C558

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

Color values

HEX#D9C558
RGBrgb(217, 197, 88)
HSLhsl(51, 63%, 60%)
HSVhsv(51, 59%, 85%)
CMYKcmyk(0%, 9.2%, 59.4%, 14.9%)
CIE-LABlab(79.27, -6.08, 55.99)
CIE-LCHlch(79.27, 56.32, 96.19°)
OKLaboklab(81.92% -0.0204 0.1291)
OKLCHoklch(81.92% 0.131 99)
XYZxyz(50.3449, 55.3909, 17.2703)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C558 #586CD9
analogous
#D98558 #D9C558 #ACD958
triadic
#D9C558 #58D9C5 #C558D9
tetradic
#D9C558 #58D985 #586CD9 #D958AC
square
#D9C558 #58D985 #586CD9 #D958AC
split-complementary
#D9C558 #58ACD9 #8558D9
monochromatic
#958322 #C7AF2D #D9C558 #E4D68A #F0E8BC

Accessibility & contrast

On white

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

On black

12.08
#D9C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C558
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C558#FFFFFF#000000##000000
##D9C5581.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#E8B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c558;
/* rgb */ color: rgb(217, 197, 88);
/* oklch */ color: oklch(81.9% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#e8d68b',
    500: '#d9c558',
    950: '#000000',
  },
}
SCSS
$custom: #d9c558;
$custom-light: #e8d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c558",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 50.698,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81919,
    "c": 0.13074,
    "h": 99
  },
  "luminance": 0.55389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C558

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

Preview Lab → · Contrast checker → · Palette generator →

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