#D8D56D#D8D56D

#D8D56D is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.4% C 0.127 H 107.3°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D8D56D
RGBrgb(216, 213, 109)
HSLhsl(58, 58%, 64%)
HSVhsv(58, 50%, 85%)
CMYKcmyk(0%, 1.4%, 49.5%, 15.3%)
CIE-LABlab(83.60, -12.95, 51.26)
CIE-LCHlch(83.60, 52.87, 104.18°)
OKLaboklab(85.41% -0.0378 0.1212)
OKLCHoklch(85.41% 0.127 107.3)
XYZxyz(54.8748, 63.2930, 23.7911)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D56D #6D70D8
analogous
#D89F6D #D8D56D #A5D86D
triadic
#D8D56D #6DD8D5 #D56DD8
tetradic
#D8D56D #6DD89F #6D70D8 #D86DA5
square
#D8D56D #6DD89F #6D70D8 #D86DA5
split-complementary
#D8D56D #6DA5D8 #9F6DD8
monochromatic
#A09D2B #CBC73D #D8D56D #E5E39D #F2F1CE

Accessibility & contrast

On white

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

On black

13.66
#D8D56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D56D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D56D#FFFFFF#000000##000000
##D8D56D1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE64
Deuteranopia (green-blind)
#E6D272
Tritanopia (blue-blind)
#E5CABD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d56d;
/* rgb */ color: rgb(216, 213, 109);
/* oklch */ color: oklch(85.4% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#e6e199',
    500: '#d8d56d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d56d;
$custom-light: #e6e199;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d56d",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 58.318,
    "s": 57.838,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85409,
    "c": 0.12694,
    "h": 107.3
  },
  "luminance": 0.63292
}

Semantic roles & 50–950 ramp

primary
#D8D56D
secondary
#4548A4
accent
#25C520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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