#D9E951#D9E951

#D9E951 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.5% C 0.172 H 115.1°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#D9E951
RGBrgb(217, 233, 81)
HSLhsl(66, 78%, 62%)
HSVhsv(66, 65%, 91%)
CMYKcmyk(6.9%, 0%, 65.2%, 8.6%)
CIE-LABlab(88.74, -24.38, 69.08)
CIE-LCHlch(88.74, 73.26, 109.44°)
OKLaboklab(89.46% -0.073 0.1559)
OKLCHoklch(89.46% 0.172 115.1)
XYZxyz(59.2408, 73.6246, 18.8732)
Luminance0.7362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E951 #6151E9
analogous
#E9AD51 #D9E951 #8DE951
triadic
#D9E951 #51D9E9 #E951D9
tetradic
#D9E951 #51E9AD #6151E9 #E9518D
square
#D9E951 #51E9AD #6151E9 #E9518D
split-complementary
#D9E951 #518DE9 #AD51E9
monochromatic
#9AAA16 #CCE01C #D9E951 #E5F087 #F1F7BE

Accessibility & contrast

On white

1.34
#D9E951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#D9E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E951
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E951#FFFFFF#000000##000000
##D9E9511.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3C
Deuteranopia (green-blind)
#F8E05C
Tritanopia (blue-blind)
#E6DCCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d9e951;
/* rgb */ color: rgb(217, 233, 81);
/* oklch */ color: oklch(89.5% 0.172 115.1);
Tailwind
colors: {
  custom: {
    50: '#e8ef89',
    500: '#d9e951',
    950: '#000000',
  },
}
SCSS
$custom: #d9e951;
$custom-light: #e8ef89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e951",
  "rgb": {
    "r": 217,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 66.316,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89459,
    "c": 0.17214,
    "h": 115.1
  },
  "luminance": 0.73624
}

Semantic roles & 50–950 ramp

primary
#D9E951
secondary
#3F33AB
accent
#0CDA21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9E951

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

Preview Lab → · Contrast checker → · Palette generator →

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