#D7E471#D7E471

#D7E471 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.6% C 0.140 H 114.6°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#D7E471
RGBrgb(215, 228, 113)
HSLhsl(67, 68%, 67%)
HSVhsv(67, 50%, 89%)
CMYKcmyk(5.7%, 0%, 50.4%, 10.6%)
CIE-LABlab(87.55, -20.41, 54.05)
CIE-LCHlch(87.55, 57.77, 110.68°)
OKLaboklab(88.56% -0.0585 0.1276)
OKLCHoklch(88.56% 0.14 114.6)
XYZxyz(58.7493, 71.1270, 26.2536)
Luminance0.7113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E471 #7E71E4
analogous
#E4B871 #D7E471 #9EE471
triadic
#D7E471 #71D7E4 #E471D7
tetradic
#D7E471 #71E4B8 #7E71E4 #E4719E
square
#D7E471 #71E4B8 #7E71E4 #E4719E
split-complementary
#D7E471 #719EE4 #B871E4
monochromatic
#A7B823 #C9DA3E #D7E471 #E5EEA4 #F4F8D8

Accessibility & contrast

On white

1.38
#D7E471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#D7E471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E471
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E471#FFFFFF#000000##000000
##D7E4711.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA66
Deuteranopia (green-blind)
#F1DD77
Tritanopia (blue-blind)
#E2D9CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e471;
/* rgb */ color: rgb(215, 228, 113);
/* oklch */ color: oklch(88.6% 0.140 114.6);
Tailwind
colors: {
  custom: {
    50: '#e5ec9d',
    500: '#d7e471',
    950: '#000000',
  },
}
SCSS
$custom: #d7e471;
$custom-light: #e5ec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e471",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 113
  },
  "hsl": {
    "h": 66.783,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88555,
    "c": 0.14041,
    "h": 114.6
  },
  "luminance": 0.71126
}

Semantic roles & 50–950 ramp

primary
#D7E471
secondary
#4F41B8
accent
#16D02B
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E471

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

Preview Lab → · Contrast checker → · Palette generator →

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