#D8DC66#D8DC66

#D8DC66 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.141 H 110.8°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#D8DC66
RGBrgb(216, 220, 102)
HSLhsl(62, 63%, 63%)
HSVhsv(62, 54%, 86%)
CMYKcmyk(1.8%, 0%, 53.6%, 13.7%)
CIE-LABlab(85.38, -17.02, 56.57)
CIE-LCHlch(85.38, 59.08, 106.75°)
OKLaboklab(86.8% -0.0501 0.132)
OKLCHoklch(86.8% 0.141 110.8)
XYZxyz(56.3117, 66.7459, 22.4847)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC66 #6A66DC
analogous
#DCA566 #D8DC66 #9DDC66
triadic
#D8DC66 #66D8DC #DC66D8
tetradic
#D8DC66 #66DCA5 #6A66DC #DC669D
square
#D8DC66 #66DCA5 #6A66DC #DC669D
split-complementary
#D8DC66 #669DDC #A566DC
monochromatic
#9EA225 #CBD134 #D8DC66 #E5E798 #F1F3CA

Accessibility & contrast

On white

1.46
#D8DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#D8DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC66
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC66#FFFFFF#000000##000000
##D8DC661.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35A
Deuteranopia (green-blind)
#ECD76C
Tritanopia (blue-blind)
#E5D0C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc66;
/* rgb */ color: rgb(216, 220, 102);
/* oklch */ color: oklch(86.8% 0.141 110.8);
Tailwind
colors: {
  custom: {
    50: '#e6e695',
    500: '#d8dc66',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc66;
$custom-light: #e6e695;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc66",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 62.034,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86803,
    "c": 0.1412,
    "h": 110.8
  },
  "luminance": 0.66745
}

Semantic roles & 50–950 ramp

primary
#D8DC66
secondary
#4441A6
accent
#1BCB21
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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