#D8EC62#D8EC62

#D8EC62 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.2% C 0.163 H 116.7°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#D8EC62
RGBrgb(216, 236, 98)
HSLhsl(69, 78%, 65%)
HSVhsv(69, 58%, 93%)
CMYKcmyk(8.5%, 0%, 58.5%, 7.5%)
CIE-LABlab(89.61, -25.08, 63.10)
CIE-LCHlch(89.61, 67.90, 111.68°)
OKLaboklab(90.18% -0.0732 0.1455)
OKLCHoklch(90.18% 0.163 116.7)
XYZxyz(60.5201, 75.4724, 22.9323)
Luminance0.7547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC62 #7662EC
analogous
#ECBB62 #D8EC62 #93EC62
triadic
#D8EC62 #62D8EC #EC62D8
tetradic
#D8EC62 #62ECBB #7662EC #EC6293
square
#D8EC62 #62ECBB #7662EC #EC6293
split-complementary
#D8EC62 #6293EC #BB62EC
monochromatic
#A5BD17 #CAE52B #D8EC62 #E6F399 #F3F9CF

Accessibility & contrast

On white

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

On black

16.09
#D8EC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC62
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC62#FFFFFF#000000##000000
##D8EC621.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE153
Deuteranopia (green-blind)
#F9E26B
Tritanopia (blue-blind)
#E4E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec62;
/* rgb */ color: rgb(216, 236, 98);
/* oklch */ color: oklch(90.2% 0.163 116.7);
Tailwind
colors: {
  custom: {
    50: '#e7f294',
    500: '#d8ec62',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec62;
$custom-light: #e7f294;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec62",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 68.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90181,
    "c": 0.16292,
    "h": 116.7
  },
  "luminance": 0.75472
}

Semantic roles & 50–950 ramp

primary
#D8EC62
secondary
#4A37BC
accent
#0BDB29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EC62

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

Preview Lab → · Contrast checker → · Palette generator →

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