#D9C550#D9C550

#D9C550 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.137 H 99.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D9C550
RGBrgb(217, 197, 80)
HSLhsl(51, 64%, 58%)
HSVhsv(51, 63%, 85%)
CMYKcmyk(0%, 9.2%, 63.1%, 14.9%)
CIE-LABlab(79.19, -6.61, 59.43)
CIE-LCHlch(79.19, 59.80, 96.34°)
OKLaboklab(81.84% -0.0229 0.1354)
OKLCHoklch(81.84% 0.137 99.6)
XYZxyz(50.0316, 55.2656, 15.6198)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C550 #5064D9
analogous
#D98050 #D9C550 #A8D950
triadic
#D9C550 #50D9C5 #C550D9
tetradic
#D9C550 #50D980 #5064D9 #D950A8
square
#D9C550 #50D980 #5064D9 #D950A8
split-complementary
#D9C550 #50A8D9 #8050D9
monochromatic
#8F7F1F #C2AC2A #D9C550 #E4D682 #EFE6B5

Accessibility & contrast

On white

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

On black

12.05
#D9C550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C550
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C550#FFFFFF#000000##000000
##D9C5501.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E9B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c550;
/* rgb */ color: rgb(217, 197, 80);
/* oklch */ color: oklch(81.8% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#e8d686',
    500: '#d9c550',
    950: '#000000',
  },
}
SCSS
$custom: #d9c550;
$custom-light: #e8d686;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c550",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 51.241,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81839,
    "c": 0.13729,
    "h": 99.6
  },
  "luminance": 0.55263
}

Semantic roles & 50–950 ramp

primary
#D9C550
secondary
#384695
accent
#59E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C550

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

Preview Lab → · Contrast checker → · Palette generator →

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