#D8D768#D8D768

#D8D768 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.134 H 108.4°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D8D768
RGBrgb(216, 215, 104)
HSLhsl(59, 59%, 63%)
HSVhsv(59, 52%, 85%)
CMYKcmyk(0%, 0.5%, 51.9%, 15.3%)
CIE-LABlab(84.07, -14.38, 54.15)
CIE-LCHlch(84.07, 56.03, 104.87°)
OKLaboklab(85.77% -0.0424 0.127)
OKLCHoklch(85.77% 0.134 108.4)
XYZxyz(55.1194, 64.2007, 22.5824)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D768 #6869D8
analogous
#D89F68 #D8D768 #A1D868
triadic
#D8D768 #68D8D7 #D768D8
tetradic
#D8D768 #68D89F #6869D8 #D868A1
square
#D8D768 #68D89F #6869D8 #D868A1
split-complementary
#D8D768 #68A1D8 #9F68D8
monochromatic
#9D9C29 #CBCA37 #D8D768 #E5E499 #F1F1C9

Accessibility & contrast

On white

1.52
#D8D768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D8D768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D768
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D768#FFFFFF#000000##000000
##D8D7681.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5D
Deuteranopia (green-blind)
#E8D46E
Tritanopia (blue-blind)
#E5CBBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d768;
/* rgb */ color: rgb(216, 215, 104);
/* oklch */ color: oklch(85.8% 0.134 108.4);
Tailwind
colors: {
  custom: {
    50: '#e6e396',
    500: '#d8d768',
    950: '#000000',
  },
}
SCSS
$custom: #d8d768;
$custom-light: #e6e396;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d768",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 59.464,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85769,
    "c": 0.13388,
    "h": 108.4
  },
  "luminance": 0.64199
}

Semantic roles & 50–950 ramp

primary
#D8D768
secondary
#4344A1
accent
#20C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D768

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

Preview Lab → · Contrast checker → · Palette generator →

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