#D9E771#D9E771

#D9E771 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.3% C 0.144 H 115.0°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#D9E771
RGBrgb(217, 231, 113)
HSLhsl(67, 71%, 67%)
HSVhsv(67, 51%, 91%)
CMYKcmyk(6.1%, 0%, 51.1%, 9.4%)
CIE-LABlab(88.49, -21.07, 55.20)
CIE-LCHlch(88.49, 59.09, 110.90°)
OKLaboklab(89.35% -0.0605 0.1301)
OKLCHoklch(89.35% 0.144 115)
XYZxyz(60.1728, 73.0966, 26.5588)
Luminance0.7310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E771 #7F71E7
analogous
#E7BA71 #D9E771 #9EE771
triadic
#D9E771 #71D9E7 #E771D9
tetradic
#D9E771 #71E7BA #7F71E7 #E7719E
square
#D9E771 #71E7BA #7F71E7 #E7719E
split-complementary
#D9E771 #719EE7 #BA71E7
monochromatic
#ABBE20 #CBDE3D #D9E771 #E7F0A5 #F5F9DA

Accessibility & contrast

On white

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

On black

15.62
#D9E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E771
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E771#FFFFFF#000000##000000
##D9E7711.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#F4DF77
Tritanopia (blue-blind)
#E5DCCC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d9e771;
/* rgb */ color: rgb(217, 231, 113);
/* oklch */ color: oklch(89.3% 0.144 115.0);
Tailwind
colors: {
  custom: {
    50: '#e7ee9d',
    500: '#d9e771',
    950: '#000000',
  },
}
SCSS
$custom: #d9e771;
$custom-light: #e7ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e771",
  "rgb": {
    "r": 217,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 67.119,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89349,
    "c": 0.14351,
    "h": 115
  },
  "luminance": 0.73096
}

Semantic roles & 50–950 ramp

primary
#D9E771
secondary
#4E3FBD
accent
#12D329
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D9E771

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

Preview Lab → · Contrast checker → · Palette generator →

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