#D4E771#D4E771

#D4E771 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.0% C 0.145 H 117.0°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#D4E771
RGBrgb(212, 231, 113)
HSLhsl(70, 71%, 67%)
HSVhsv(70, 51%, 91%)
CMYKcmyk(8.2%, 0%, 51.1%, 9.4%)
CIE-LABlab(88.13, -23.03, 54.68)
CIE-LCHlch(88.13, 59.34, 112.84°)
OKLaboklab(88.97% -0.0658 0.1291)
OKLCHoklch(88.97% 0.145 117)
XYZxyz(58.7087, 72.3417, 26.4901)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E771 #8471E7
analogous
#E7BF71 #D4E771 #99E771
triadic
#D4E771 #71D4E7 #E771D4
tetradic
#D4E771 #71E7BF #8471E7 #E77199
square
#D4E771 #71E7BF #8471E7 #E77199
split-complementary
#D4E771 #7199E7 #BF71E7
monochromatic
#A4BE20 #C4DE3D #D4E771 #E4F0A5 #F4F9DA

Accessibility & contrast

On white

1.36
#D4E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#D4E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E771
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E771#FFFFFF#000000##000000
##D4E7711.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD66
Deuteranopia (green-blind)
#F2DE78
Tritanopia (blue-blind)
#DFDCCC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d4e771;
/* rgb */ color: rgb(212, 231, 113);
/* oklch */ color: oklch(89.0% 0.145 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ee9d',
    500: '#d4e771',
    950: '#000000',
  },
}
SCSS
$custom: #d4e771;
$custom-light: #e3ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e771",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 69.661,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8897,
    "c": 0.14487,
    "h": 117
  },
  "luminance": 0.72341
}

Semantic roles & 50–950 ramp

primary
#D4E771
secondary
#543FBD
accent
#12D331
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D4E771

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

Preview Lab → · Contrast checker → · Palette generator →

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