#D8D563#D8D563

#D8D563 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.3% C 0.136 H 107.6°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#D8D563
RGBrgb(216, 213, 99)
HSLhsl(58, 60%, 62%)
HSVhsv(58, 54%, 85%)
CMYKcmyk(0%, 1.4%, 54.2%, 15.3%)
CIE-LABlab(83.49, -13.78, 55.77)
CIE-LCHlch(83.49, 57.45, 103.88°)
OKLaboklab(85.29% -0.0412 0.13)
OKLCHoklch(85.29% 0.136 107.6)
XYZxyz(54.3668, 63.0898, 21.1156)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D563 #6366D8
analogous
#D89B63 #D8D563 #A0D863
triadic
#D8D563 #63D8D5 #D563D8
tetradic
#D8D563 #63D89B #6366D8 #D863A0
square
#D8D563 #63D89B #6366D8 #D863A0
split-complementary
#D8D563 #63A0D8 #9B63D8
monochromatic
#9A9727 #CBC733 #D8D563 #E4E294 #F0EFC5

Accessibility & contrast

On white

1.54
#D8D563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#D8D563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D563
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D563#FFFFFF#000000##000000
##D8D5631.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE58
Deuteranopia (green-blind)
#E7D269
Tritanopia (blue-blind)
#E6C9BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d563;
/* rgb */ color: rgb(216, 213, 99);
/* oklch */ color: oklch(85.3% 0.136 107.6);
Tailwind
colors: {
  custom: {
    50: '#e6e193',
    500: '#d8d563',
    950: '#000000',
  },
}
SCSS
$custom: #d8d563;
$custom-light: #e6e193;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d563",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 99
  },
  "hsl": {
    "h": 58.462,
    "s": 60,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8529,
    "c": 0.13634,
    "h": 107.6
  },
  "luminance": 0.63088
}

Semantic roles & 50–950 ramp

primary
#D8D563
secondary
#41439E
accent
#22C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D563

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

Preview Lab → · Contrast checker → · Palette generator →

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