#D9C563#D9C563

#D9C563 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.121 H 98.0°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D9C563
RGBrgb(217, 197, 99)
HSLhsl(50, 61%, 62%)
HSVhsv(50, 54%, 85%)
CMYKcmyk(0%, 9.2%, 54.4%, 14.9%)
CIE-LABlab(79.38, -5.25, 51.03)
CIE-LCHlch(79.38, 51.30, 95.87°)
OKLaboklab(82.05% -0.0168 0.1197)
OKLCHoklch(82.05% 0.121 98)
XYZxyz(50.8355, 55.5871, 19.8536)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C563 #6377D9
analogous
#D98A63 #D9C563 #B2D963
triadic
#D9C563 #63D9C5 #C563D9
tetradic
#D9C563 #63D98A #6377D9 #D963B2
square
#D9C563 #63D98A #6377D9 #D963B2
split-complementary
#D9C563 #63B2D9 #8A63D9
monochromatic
#9C8826 #CDB332 #D9C563 #E5D794 #F1EAC5

Accessibility & contrast

On white

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

On black

12.12
#D9C563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C563
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C563#FFFFFF#000000##000000
##D9C5631.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15A
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#E8B9AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c563;
/* rgb */ color: rgb(217, 197, 99);
/* oklch */ color: oklch(82.0% 0.121 98.0);
Tailwind
colors: {
  custom: {
    50: '#e7d692',
    500: '#d9c563',
    950: '#000000',
  },
}
SCSS
$custom: #d9c563;
$custom-light: #e7d692;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c563",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 99
  },
  "hsl": {
    "h": 49.831,
    "s": 60.825,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82045,
    "c": 0.1209,
    "h": 98
  },
  "luminance": 0.55585
}

Semantic roles & 50–950 ramp

primary
#D9C563
secondary
#4051A0
accent
#3AC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C563

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

Preview Lab → · Contrast checker → · Palette generator →

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