#D5D856#D5D856

#D5D856 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.151 H 110.4°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D5D856
RGBrgb(213, 216, 86)
HSLhsl(61, 63%, 59%)
HSVhsv(61, 60%, 85%)
CMYKcmyk(1.4%, 0%, 60.2%, 15.3%)
CIE-LABlab(83.93, -17.44, 61.89)
CIE-LCHlch(83.93, 64.30, 105.74°)
OKLaboklab(85.54% -0.0528 0.1415)
OKLCHoklch(85.54% 0.151 110.4)
XYZxyz(53.6777, 63.9311, 18.3146)
Luminance0.6393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D856 #5956D8
analogous
#D89A56 #D5D856 #94D856
triadic
#D5D856 #56D5D8 #D856D5
tetradic
#D5D856 #56D89A #5956D8 #D85694
square
#D5D856 #56D89A #5956D8 #D85694
split-complementary
#D5D856 #5694D8 #9A56D8
monochromatic
#8F9222 #C0C42D #D5D856 #E1E388 #EEEFB9

Accessibility & contrast

On white

1.52
#D5D856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D5D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D856
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D856#FFFFFF#000000##000000
##D5D8561.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#E3CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d856;
/* rgb */ color: rgb(213, 216, 86);
/* oklch */ color: oklch(85.5% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e38b',
    500: '#d5d856',
    950: '#000000',
  },
}
SCSS
$custom: #d5d856;
$custom-light: #e5e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d856",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 61.385,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85544,
    "c": 0.15104,
    "h": 110.4
  },
  "luminance": 0.6393
}

Semantic roles & 50–950 ramp

primary
#D5D856
secondary
#3D3B97
accent
#42E646
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D856

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

Preview Lab → · Contrast checker → · Palette generator →

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