#D7E771#D7E771

#D7E771 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.2% C 0.144 H 115.8°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#D7E771
RGBrgb(215, 231, 113)
HSLhsl(68, 71%, 67%)
HSVhsv(68, 51%, 91%)
CMYKcmyk(6.9%, 0%, 51.1%, 9.4%)
CIE-LABlab(88.35, -21.86, 54.99)
CIE-LCHlch(88.35, 59.18, 111.68°)
OKLaboklab(89.2% -0.0627 0.1297)
OKLCHoklch(89.2% 0.144 115.8)
XYZxyz(59.5818, 72.7919, 26.5311)
Luminance0.7279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E771 #8171E7
analogous
#E7BC71 #D7E771 #9CE771
triadic
#D7E771 #71D7E7 #E771D7
tetradic
#D7E771 #71E7BC #8171E7 #E7719C
square
#D7E771 #71E7BC #8171E7 #E7719C
split-complementary
#D7E771 #719CE7 #BC71E7
monochromatic
#A8BE20 #C8DE3D #D7E771 #E6F0A5 #F4F9DA

Accessibility & contrast

On white

1.35
#D7E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#D7E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E771
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E771#FFFFFF#000000##000000
##D7E7711.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7e771;
/* rgb */ color: rgb(215, 231, 113);
/* oklch */ color: oklch(89.2% 0.144 115.8);
Tailwind
colors: {
  custom: {
    50: '#e5ee9d',
    500: '#d7e771',
    950: '#000000',
  },
}
SCSS
$custom: #d7e771;
$custom-light: #e5ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e771",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 68.136,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89197,
    "c": 0.14402,
    "h": 115.8
  },
  "luminance": 0.72791
}

Semantic roles & 50–950 ramp

primary
#D7E771
secondary
#503FBD
accent
#12D32D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D7E771

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

Preview Lab → · Contrast checker → · Palette generator →

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