#D8DC79#D8DC79

#D8DC79 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.0% C 0.123 H 110.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#D8DC79
RGBrgb(216, 220, 121)
HSLhsl(62, 59%, 67%)
HSVhsv(62, 45%, 86%)
CMYKcmyk(1.8%, 0%, 45%, 13.7%)
CIE-LABlab(85.59, -15.34, 47.93)
CIE-LCHlch(85.59, 50.32, 107.75°)
OKLaboklab(87.04% -0.0434 0.1148)
OKLCHoklch(87.04% 0.123 110.7)
XYZxyz(57.3643, 67.1669, 28.0281)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC79 #7D79DC
analogous
#DCAF79 #D8DC79 #A7DC79
triadic
#D8DC79 #79D8DC #DC79D8
tetradic
#D8DC79 #79DCAF #7D79DC #DC79A7
square
#D8DC79 #79DCAF #7D79DC #DC79A7
split-complementary
#D8DC79 #79A7DC #AF79DC
monochromatic
#A8AD2D #CACF48 #D8DC79 #E6E9AA #F4F5DA

Accessibility & contrast

On white

1.45
#D8DC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#D8DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC79
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC79#FFFFFF#000000##000000
##D8DC791.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D471
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#E4D1C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dc79;
/* rgb */ color: rgb(216, 220, 121);
/* oklch */ color: oklch(87.0% 0.123 110.7);
Tailwind
colors: {
  custom: {
    50: '#e6e6a1',
    500: '#d8dc79',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc79;
$custom-light: #e6e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc79",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 62.424,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87041,
    "c": 0.12275,
    "h": 110.7
  },
  "luminance": 0.67166
}

Semantic roles & 50–950 ramp

primary
#D8DC79
secondary
#4E4AB0
accent
#1FC626
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D8DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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