#D8D565#D8D565

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

Color values

HEX#D8D565
RGBrgb(216, 213, 101)
HSLhsl(58, 60%, 62%)
HSVhsv(58, 53%, 85%)
CMYKcmyk(0%, 1.4%, 53.2%, 15.3%)
CIE-LABlab(83.51, -13.62, 54.88)
CIE-LCHlch(83.51, 56.55, 103.94°)
OKLaboklab(85.31% -0.0405 0.1283)
OKLCHoklch(85.31% 0.135 107.5)
XYZxyz(54.4636, 63.1285, 21.6254)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D565 #6568D8
analogous
#D89C65 #D8D565 #A1D865
triadic
#D8D565 #65D8D5 #D565D8
tetradic
#D8D565 #65D89C #6568D8 #D865A1
square
#D8D565 #65D89C #6568D8 #D865A1
split-complementary
#D8D565 #65A1D8 #9C65D8
monochromatic
#9B9827 #CCC834 #D8D565 #E4E296 #F1F0C7

Accessibility & contrast

On white

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

On black

13.63
#D8D565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D565
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D565#FFFFFF#000000##000000
##D8D5651.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d565;
/* rgb */ color: rgb(216, 213, 101);
/* oklch */ color: oklch(85.3% 0.135 107.5);
Tailwind
colors: {
  custom: {
    50: '#e6e194',
    500: '#d8d565',
    950: '#000000',
  },
}
SCSS
$custom: #d8d565;
$custom-light: #e6e194;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d565",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 101
  },
  "hsl": {
    "h": 58.435,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85312,
    "c": 0.13452,
    "h": 107.5
  },
  "luminance": 0.63127
}

Semantic roles & 50–950 ramp

primary
#D8D565
secondary
#4244A0
accent
#23C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D565

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

Preview Lab → · Contrast checker → · Palette generator →

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