#D9E351#D9E351

#D9E351 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.2% C 0.166 H 113.1°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#D9E351
RGBrgb(217, 227, 81)
HSLhsl(64, 72%, 60%)
HSVhsv(64, 64%, 89%)
CMYKcmyk(4.4%, 0%, 64.3%, 11%)
CIE-LABlab(87.14, -21.50, 67.42)
CIE-LCHlch(87.14, 70.76, 107.69°)
OKLaboklab(88.17% -0.0649 0.1524)
OKLCHoklch(88.17% 0.166 113.1)
XYZxyz(57.5711, 70.2851, 18.3166)
Luminance0.7028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E351 #5B51E3
analogous
#E3A451 #D9E351 #90E351
triadic
#D9E351 #51D9E3 #E351D9
tetradic
#D9E351 #51E3A4 #5B51E3 #E35190
square
#D9E351 #51E3A4 #5B51E3 #E35190
split-complementary
#D9E351 #5190E3 #A451E3
monochromatic
#97A01A #C8D522 #D9E351 #E5EB86 #F0F4BA

Accessibility & contrast

On white

1.39
#D9E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#D9E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E351
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E351#FFFFFF#000000##000000
##D9E3511.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93D
Deuteranopia (green-blind)
#F3DC5B
Tritanopia (blue-blind)
#E7D6C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9e351;
/* rgb */ color: rgb(217, 227, 81);
/* oklch */ color: oklch(88.2% 0.166 113.1);
Tailwind
colors: {
  custom: {
    50: '#e8eb89',
    500: '#d9e351',
    950: '#000000',
  },
}
SCSS
$custom: #d9e351;
$custom-light: #e8eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e351",
  "rgb": {
    "r": 217,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 64.11,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8817,
    "c": 0.16565,
    "h": 113.1
  },
  "luminance": 0.70284
}

Semantic roles & 50–950 ramp

primary
#D9E351
secondary
#3D35A3
accent
#11D41F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E351

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

Preview Lab → · Contrast checker → · Palette generator →

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