#D9E962#D9E962

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

Color values

HEX#D9E962
RGBrgb(217, 233, 98)
HSLhsl(67, 75%, 65%)
HSVhsv(67, 58%, 91%)
CMYKcmyk(6.9%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.88, -23.25, 62.31)
CIE-LCHlch(88.88, 66.50, 110.46°)
OKLaboklab(89.61% -0.0682 0.1438)
OKLCHoklch(89.61% 0.159 115.4)
XYZxyz(59.9600, 73.9122, 22.6607)
Luminance0.7391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E962 #7262E9
analogous
#E9B562 #D9E962 #96E962
triadic
#D9E962 #62D9E9 #E962D9
tetradic
#D9E962 #62E9B5 #7262E9 #E96296
square
#D9E962 #62E9B5 #7262E9 #E96296
split-complementary
#D9E962 #6296E9 #B562E9
monochromatic
#A4B71A #CCE12C #D9E962 #E6F198 #F3F8CD

Accessibility & contrast

On white

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

On black

15.78
#D9E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E962
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E962#FFFFFF#000000##000000
##D9E9621.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE53
Deuteranopia (green-blind)
#F7E06A
Tritanopia (blue-blind)
#E5DDCC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d9e962;
/* rgb */ color: rgb(217, 233, 98);
/* oklch */ color: oklch(89.6% 0.159 115.4);
Tailwind
colors: {
  custom: {
    50: '#e7f093',
    500: '#d9e962',
    950: '#000000',
  },
}
SCSS
$custom: #d9e962;
$custom-light: #e7f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e962",
  "rgb": {
    "r": 217,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 67.111,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89611,
    "c": 0.15916,
    "h": 115.4
  },
  "luminance": 0.73911
}

Semantic roles & 50–950 ramp

primary
#D9E962
secondary
#4738B7
accent
#0ED826
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9E962

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

Preview Lab → · Contrast checker → · Palette generator →

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