#D8ED52#D8ED52

#D8ED52 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.3% C 0.176 H 116.7°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#D8ED52
RGBrgb(216, 237, 82)
HSLhsl(68, 81%, 63%)
HSVhsv(68, 65%, 93%)
CMYKcmyk(8.9%, 0%, 65.4%, 7.1%)
CIE-LABlab(89.76, -26.62, 69.72)
CIE-LCHlch(89.76, 74.63, 110.90°)
OKLaboklab(90.25% -0.0791 0.1574)
OKLCHoklch(90.25% 0.176 116.7)
XYZxyz(60.1274, 75.7772, 19.4400)
Luminance0.7578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ED52 #6752ED
analogous
#EDB452 #D8ED52 #8AED52
triadic
#D8ED52 #52D8ED #ED52D8
tetradic
#D8ED52 #52EDB4 #6752ED #ED528A
square
#D8ED52 #52EDB4 #6752ED #ED528A
split-complementary
#D8ED52 #528AED #B452ED
monochromatic
#9CB213 #CCE71B #D8ED52 #E4F389 #F1F9C1

Accessibility & contrast

On white

1.30
#D8ED52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#D8ED52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ED52
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ED52#FFFFFF#000000##000000
##D8ED521.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE13C
Deuteranopia (green-blind)
#FBE35D
Tritanopia (blue-blind)
#E5E0CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ed52;
/* rgb */ color: rgb(216, 237, 82);
/* oklch */ color: oklch(90.3% 0.176 116.7);
Tailwind
colors: {
  custom: {
    50: '#e7f28a',
    500: '#d8ed52',
    950: '#000000',
  },
}
SCSS
$custom: #d8ed52;
$custom-light: #e7f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ed52",
  "rgb": {
    "r": 216,
    "g": 237,
    "b": 82
  },
  "hsl": {
    "h": 68.129,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90254,
    "c": 0.17618,
    "h": 116.7
  },
  "luminance": 0.75776
}

Semantic roles & 50–950 ramp

primary
#D8ED52
secondary
#4331B2
accent
#08DE25
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8ED52

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

Preview Lab → · Contrast checker → · Palette generator →

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