#D8ED62#D8ED62

#D8ED62 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.4% C 0.164 H 117.0°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#D8ED62
RGBrgb(216, 237, 98)
HSLhsl(69, 79%, 66%)
HSVhsv(69, 59%, 93%)
CMYKcmyk(8.9%, 0%, 58.6%, 7.1%)
CIE-LABlab(89.88, -25.55, 63.40)
CIE-LCHlch(89.88, 68.35, 111.95°)
OKLaboklab(90.4% -0.0746 0.1462)
OKLCHoklch(90.4% 0.164 117)
XYZxyz(60.8088, 76.0498, 23.0286)
Luminance0.7605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ED62 #7762ED
analogous
#EDBD62 #D8ED62 #92ED62
triadic
#D8ED62 #62D8ED #ED62D8
tetradic
#D8ED62 #62EDBD #7762ED #ED6292
square
#D8ED62 #62EDBD #7762ED #ED6292
split-complementary
#D8ED62 #6292ED #BD62ED
monochromatic
#A5BF16 #CAE72B #D8ED62 #E6F399 #F3FAD0

Accessibility & contrast

On white

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

On black

16.21
#D8ED62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ED62
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ED62#FFFFFF#000000##000000
##D8ED621.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE152
Deuteranopia (green-blind)
#FAE36B
Tritanopia (blue-blind)
#E4E1CF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ed62;
/* rgb */ color: rgb(216, 237, 98);
/* oklch */ color: oklch(90.4% 0.164 117.0);
Tailwind
colors: {
  custom: {
    50: '#e7f294',
    500: '#d8ed62',
    950: '#000000',
  },
}
SCSS
$custom: #d8ed62;
$custom-light: #e7f294;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ed62",
  "rgb": {
    "r": 216,
    "g": 237,
    "b": 98
  },
  "hsl": {
    "h": 69.065,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90396,
    "c": 0.16408,
    "h": 117
  },
  "luminance": 0.76049
}

Semantic roles & 50–950 ramp

primary
#D8ED62
secondary
#4A36BD
accent
#0ADC29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8ED62

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

Preview Lab → · Contrast checker → · Palette generator →

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