#D8D968#D8D968

#D8D968 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.136 H 109.4°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D8D968
RGBrgb(216, 217, 104)
HSLhsl(61, 60%, 63%)
HSVhsv(61, 52%, 85%)
CMYKcmyk(0.5%, 0%, 52.1%, 14.9%)
CIE-LABlab(84.60, -15.37, 54.76)
CIE-LCHlch(84.60, 56.88, 105.68°)
OKLaboklab(86.19% -0.0452 0.1283)
OKLCHoklch(86.19% 0.136 109.4)
XYZxyz(55.6318, 65.2255, 22.7532)
Luminance0.6522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D968 #6968D9
analogous
#D9A168 #D8D968 #9FD968
triadic
#D8D968 #68D8D9 #D968D8
tetradic
#D8D968 #68D9A1 #6968D9 #D9689F
square
#D8D968 #68D9A1 #6968D9 #D9689F
split-complementary
#D8D968 #689FD9 #A168D9
monochromatic
#9E9F28 #CBCD37 #D8D968 #E5E599 #F1F2CA

Accessibility & contrast

On white

1.50
#D8D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D8D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D968
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D968#FFFFFF#000000##000000
##D8D9681.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15D
Deuteranopia (green-blind)
#E9D56E
Tritanopia (blue-blind)
#E5CDC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d968;
/* rgb */ color: rgb(216, 217, 104);
/* oklch */ color: oklch(86.2% 0.136 109.4);
Tailwind
colors: {
  custom: {
    50: '#e6e496',
    500: '#d8d968',
    950: '#000000',
  },
}
SCSS
$custom: #d8d968;
$custom-light: #e6e496;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d968",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 60.531,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86191,
    "c": 0.13606,
    "h": 109.4
  },
  "luminance": 0.65224
}

Semantic roles & 50–950 ramp

primary
#D8D968
secondary
#4343A3
accent
#1EC720
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D968

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

Preview Lab → · Contrast checker → · Palette generator →

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