#D9E960#D9E960

#D9E960 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.6% C 0.161 H 115.3°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#D9E960
RGBrgb(217, 233, 96)
HSLhsl(67, 76%, 65%)
HSVhsv(67, 59%, 91%)
CMYKcmyk(6.9%, 0%, 58.8%, 8.6%)
CIE-LABlab(88.86, -23.40, 63.14)
CIE-LCHlch(88.86, 67.33, 110.33°)
OKLaboklab(89.59% -0.0688 0.1454)
OKLCHoklch(89.59% 0.161 115.3)
XYZxyz(59.8667, 73.8749, 22.1696)
Luminance0.7387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E960 #7060E9
analogous
#E9B460 #D9E960 #95E960
triadic
#D9E960 #60D9E9 #E960D9
tetradic
#D9E960 #60E9B4 #7060E9 #E96095
square
#D9E960 #60E9B4 #7060E9 #E96095
split-complementary
#D9E960 #6095E9 #B460E9
monochromatic
#A3B519 #CCE22A #D9E960 #E6F096 #F3F8CC

Accessibility & contrast

On white

1.33
#D9E960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#D9E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E960
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E960#FFFFFF#000000##000000
##D9E9601.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE50
Deuteranopia (green-blind)
#F7E069
Tritanopia (blue-blind)
#E6DDCC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d9e960;
/* rgb */ color: rgb(217, 233, 96);
/* oklch */ color: oklch(89.6% 0.161 115.3);
Tailwind
colors: {
  custom: {
    50: '#e7f092',
    500: '#d9e960',
    950: '#000000',
  },
}
SCSS
$custom: #d9e960;
$custom-light: #e7f092;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e960",
  "rgb": {
    "r": 217,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 67.007,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89592,
    "c": 0.16081,
    "h": 115.3
  },
  "luminance": 0.73874
}

Semantic roles & 50–950 ramp

primary
#D9E960
secondary
#4638B5
accent
#0ED825
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9E960

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

Preview Lab → · Contrast checker → · Palette generator →

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