#D8D668#D8D668

#D8D668 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.133 H 108.0°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D8D668
RGBrgb(216, 214, 104)
HSLhsl(59, 59%, 63%)
HSVhsv(59, 52%, 85%)
CMYKcmyk(0%, 0.9%, 51.9%, 15.3%)
CIE-LABlab(83.81, -13.88, 53.84)
CIE-LCHlch(83.81, 55.60, 104.46°)
OKLaboklab(85.56% -0.0409 0.1263)
OKLCHoklch(85.56% 0.133 108)
XYZxyz(54.8656, 63.6930, 22.4978)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D668 #686AD8
analogous
#D89E68 #D8D668 #A2D868
triadic
#D8D668 #68D8D6 #D668D8
tetradic
#D8D668 #68D89E #686AD8 #D868A2
square
#D8D668 #68D89E #686AD8 #D868A2
split-complementary
#D8D668 #68A2D8 #9E68D8
monochromatic
#9D9B29 #CBC937 #D8D668 #E5E399 #F1F0C9

Accessibility & contrast

On white

1.53
#D8D668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#D8D668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D668
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D668#FFFFFF#000000##000000
##D8D6681.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF5D
Deuteranopia (green-blind)
#E7D36E
Tritanopia (blue-blind)
#E5CABD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d668;
/* rgb */ color: rgb(216, 214, 104);
/* oklch */ color: oklch(85.6% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#e6e296',
    500: '#d8d668',
    950: '#000000',
  },
}
SCSS
$custom: #d8d668;
$custom-light: #e6e296;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d668",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 104
  },
  "hsl": {
    "h": 58.929,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85558,
    "c": 0.1328,
    "h": 108
  },
  "luminance": 0.63692
}

Semantic roles & 50–950 ramp

primary
#D8D668
secondary
#4345A1
accent
#22C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D668

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

Preview Lab → · Contrast checker → · Palette generator →

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