#D8E757#D8E757

#D8E757 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.0% C 0.166 H 114.9°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#D8E757
RGBrgb(216, 231, 87)
HSLhsl(66, 75%, 62%)
HSVhsv(66, 62%, 91%)
CMYKcmyk(6.5%, 0%, 62.3%, 9.4%)
CIE-LABlab(88.18, -23.46, 66.10)
CIE-LCHlch(88.18, 70.14, 109.54°)
OKLaboklab(89% -0.0698 0.1505)
OKLCHoklch(89% 0.166 114.9)
XYZxyz(58.6165, 72.4398, 19.9094)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E757 #6657E7
analogous
#E7AE57 #D8E757 #90E757
triadic
#D8E757 #57D8E7 #E757D8
tetradic
#D8E757 #57E7AE #6657E7 #E75790
square
#D8E757 #57E7AE #6657E7 #E75790
split-complementary
#D8E757 #5790E7 #AE57E7
monochromatic
#9CAB18 #CCDF21 #D8E757 #E4EF8D #F1F6C2

Accessibility & contrast

On white

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

On black

15.49
#D8E757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E757
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E757#FFFFFF#000000##000000
##D8E7571.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC45
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#E5DAC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d8e757;
/* rgb */ color: rgb(216, 231, 87);
/* oklch */ color: oklch(89.0% 0.166 114.9);
Tailwind
colors: {
  custom: {
    50: '#e7ee8d',
    500: '#d8e757',
    950: '#000000',
  },
}
SCSS
$custom: #d8e757;
$custom-light: #e7ee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e757",
  "rgb": {
    "r": 216,
    "g": 231,
    "b": 87
  },
  "hsl": {
    "h": 66.25,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89002,
    "c": 0.16588,
    "h": 114.9
  },
  "luminance": 0.72439
}

Semantic roles & 50–950 ramp

primary
#D8E757
secondary
#4236AC
accent
#0ED723
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8E757

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

Preview Lab → · Contrast checker → · Palette generator →

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