#D8DC4D#D8DC4D

#D8DC4D is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.6% C 0.161 H 110.9°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#D8DC4D
RGBrgb(216, 220, 77)
HSLhsl(62, 67%, 58%)
HSVhsv(62, 65%, 86%)
CMYKcmyk(1.8%, 0%, 65%, 13.7%)
CIE-LABlab(85.16, -18.74, 66.91)
CIE-LCHlch(85.16, 69.48, 105.65°)
OKLaboklab(86.56% -0.0575 0.1508)
OKLCHoklch(86.56% 0.161 110.9)
XYZxyz(55.2534, 66.3226, 16.9107)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC4D #514DDC
analogous
#DC984D #D8DC4D #90DC4D
triadic
#D8DC4D #4DD8DC #DC4DD8
tetradic
#D8DC4D #4DDC98 #514DDC #DC4D90
square
#D8DC4D #4DDC98 #514DDC #DC4D90
split-complementary
#D8DC4D #4D90DC #984DDC
monochromatic
#8F921D #C1C527 #D8DC4D #E3E680 #EEF0B3

Accessibility & contrast

On white

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

On black

14.26
#D8DC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC4D
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC4D#FFFFFF#000000##000000
##D8DC4D1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD339
Deuteranopia (green-blind)
#EED757
Tritanopia (blue-blind)
#E6CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc4d;
/* rgb */ color: rgb(216, 220, 77);
/* oklch */ color: oklch(86.6% 0.161 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e686',
    500: '#d8dc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc4d;
$custom-light: #e7e686;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc4d",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 77
  },
  "hsl": {
    "h": 61.678,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86562,
    "c": 0.16135,
    "h": 110.9
  },
  "luminance": 0.66321
}

Semantic roles & 50–950 ramp

primary
#D8DC4D
secondary
#393697
accent
#3EEA43
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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