#D8DC68#D8DC68

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

Color values

HEX#D8DC68
RGBrgb(216, 220, 104)
HSLhsl(62, 62%, 64%)
HSVhsv(62, 53%, 86%)
CMYKcmyk(1.8%, 0%, 52.7%, 13.7%)
CIE-LABlab(85.40, -16.86, 55.69)
CIE-LCHlch(85.40, 58.18, 106.84°)
OKLaboklab(86.83% -0.0494 0.1303)
OKLCHoklch(86.83% 0.139 110.8)
XYZxyz(56.4121, 66.7860, 23.0133)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC68 #6C68DC
analogous
#DCA668 #D8DC68 #9EDC68
triadic
#D8DC68 #68D8DC #DC68D8
tetradic
#D8DC68 #68DCA6 #6C68DC #DC689E
square
#D8DC68 #68DCA6 #6C68DC #DC689E
split-complementary
#D8DC68 #689EDC #A668DC
monochromatic
#9FA426 #CBD036 #D8DC68 #E5E89A #F2F3CB

Accessibility & contrast

On white

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

On black

14.36
#D8DC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC68
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC68#FFFFFF#000000##000000
##D8DC681.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8dc68;
/* rgb */ color: rgb(216, 220, 104);
/* oklch */ color: oklch(86.8% 0.139 110.8);
Tailwind
colors: {
  custom: {
    50: '#e6e696',
    500: '#d8dc68',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc68;
$custom-light: #e6e696;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc68",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 104
  },
  "hsl": {
    "h": 62.069,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86825,
    "c": 0.13938,
    "h": 110.8
  },
  "luminance": 0.66785
}

Semantic roles & 50–950 ramp

primary
#D8DC68
secondary
#4541A7
accent
#1BCA21
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DC68

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

Preview Lab → · Contrast checker → · Palette generator →

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