#D9D768#D9D768

#D9D768 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.9% C 0.134 H 108.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D9D768
RGBrgb(217, 215, 104)
HSLhsl(59, 60%, 63%)
HSVhsv(59, 52%, 85%)
CMYKcmyk(0%, 0.9%, 52.1%, 14.9%)
CIE-LABlab(84.15, -13.97, 54.26)
CIE-LCHlch(84.15, 56.03, 104.44°)
OKLaboklab(85.85% -0.0413 0.1272)
OKLCHoklch(85.85% 0.134 108)
XYZxyz(55.4158, 64.3535, 22.5963)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D768 #686AD9
analogous
#D99E68 #D9D768 #A2D968
triadic
#D9D768 #68D9D7 #D768D9
tetradic
#D9D768 #68D99E #686AD9 #D968A2
square
#D9D768 #68D99E #686AD9 #D968A2
split-complementary
#D9D768 #68A2D9 #9E68D9
monochromatic
#9F9D28 #CDCA37 #D9D768 #E5E499 #F2F1CA

Accessibility & contrast

On white

1.51
#D9D768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D9D768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D768
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D768#FFFFFF#000000##000000
##D9D7681.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d768;
/* rgb */ color: rgb(217, 215, 104);
/* oklch */ color: oklch(85.9% 0.134 108.0);
Tailwind
colors: {
  custom: {
    50: '#e7e396',
    500: '#d9d768',
    950: '#000000',
  },
}
SCSS
$custom: #d9d768;
$custom-light: #e7e396;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d768",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 58.938,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85851,
    "c": 0.13375,
    "h": 108
  },
  "luminance": 0.64352
}

Semantic roles & 50–950 ramp

primary
#D9D768
secondary
#4344A3
accent
#21C71E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9D768

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

Preview Lab → · Contrast checker → · Palette generator →

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