#D9C560#D9C560

#D9C560 is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.124 H 98.3°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D9C560
RGBrgb(217, 197, 96)
HSLhsl(50, 61%, 61%)
HSVhsv(50, 56%, 85%)
CMYKcmyk(0%, 9.2%, 55.8%, 14.9%)
CIE-LABlab(79.35, -5.49, 52.41)
CIE-LCHlch(79.35, 52.69, 95.98°)
OKLaboklab(82.01% -0.0178 0.1224)
OKLCHoklch(82.01% 0.124 98.3)
XYZxyz(50.6947, 55.5308, 19.1123)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C560 #6074D9
analogous
#D98960 #D9C560 #B1D960
triadic
#D9C560 #60D9C5 #C560D9
tetradic
#D9C560 #60D989 #6074D9 #D960B1
square
#D9C560 #60D989 #6074D9 #D960B1
split-complementary
#D9C560 #60B1D9 #8960D9
monochromatic
#9A8625 #CBB231 #D9C560 #E5D791 #F1E9C3

Accessibility & contrast

On white

1.73
#D9C560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D9C560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C560
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C560#FFFFFF#000000##000000
##D9C5601.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C056
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#E8B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c560;
/* rgb */ color: rgb(217, 197, 96);
/* oklch */ color: oklch(82.0% 0.124 98.3);
Tailwind
colors: {
  custom: {
    50: '#e7d690',
    500: '#d9c560',
    950: '#000000',
  },
}
SCSS
$custom: #d9c560;
$custom-light: #e7d690;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c560",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 96
  },
  "hsl": {
    "h": 50.083,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82009,
    "c": 0.12368,
    "h": 98.3
  },
  "luminance": 0.55529
}

Semantic roles & 50–950 ramp

primary
#D9C560
secondary
#3F4F9E
accent
#39C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C560

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

Preview Lab → · Contrast checker → · Palette generator →

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