#D8DC5D#D8DC5D

#D8DC5D is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.7% C 0.149 H 110.8°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#D8DC5D
RGBrgb(216, 220, 93)
HSLhsl(62, 64%, 61%)
HSVhsv(62, 58%, 86%)
CMYKcmyk(1.8%, 0%, 57.7%, 13.7%)
CIE-LABlab(85.29, -17.70, 60.46)
CIE-LCHlch(85.29, 63.00, 106.32°)
OKLaboklab(86.71% -0.053 0.1393)
OKLCHoklch(86.71% 0.149 110.8)
XYZxyz(55.8894, 66.5770, 20.2603)
Luminance0.6658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC5D #615DDC
analogous
#DCA15D #D8DC5D #99DC5D
triadic
#D8DC5D #5DD8DC #DC5DD8
tetradic
#D8DC5D #5DDCA1 #615DDC #DC5D99
square
#D8DC5D #5DDCA1 #615DDC #DC5D99
split-complementary
#D8DC5D #5D99DC #A15DDC
monochromatic
#999D22 #CACF2D #D8DC5D #E4E78F #F0F2C2

Accessibility & contrast

On white

1.47
#D8DC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#D8DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC5D
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC5D#FFFFFF#000000##000000
##D8DC5D1.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34F
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#E6D0C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc5d;
/* rgb */ color: rgb(216, 220, 93);
/* oklch */ color: oklch(86.7% 0.149 110.8);
Tailwind
colors: {
  custom: {
    50: '#e7e68f',
    500: '#d8dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc5d;
$custom-light: #e7e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc5d",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 61.89,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86707,
    "c": 0.14904,
    "h": 110.8
  },
  "luminance": 0.66576
}

Semantic roles & 50–950 ramp

primary
#D8DC5D
secondary
#403DA1
accent
#19CC1F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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