#D8EA62#D8EA62

#D8EA62 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 89.8% C 0.161 H 116.1°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#D8EA62
RGBrgb(216, 234, 98)
HSLhsl(68, 76%, 65%)
HSVhsv(68, 58%, 92%)
CMYKcmyk(7.7%, 0%, 58.1%, 8.2%)
CIE-LABlab(89.08, -24.12, 62.50)
CIE-LCHlch(89.08, 67.00, 111.11°)
OKLaboklab(89.75% -0.0706 0.1443)
OKLCHoklch(89.75% 0.161 116.1)
XYZxyz(59.9475, 74.3272, 22.7415)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA62 #7462EA
analogous
#EAB862 #D8EA62 #94EA62
triadic
#D8EA62 #62D8EA #EA62D8
tetradic
#D8EA62 #62EAB8 #7462EA #EA6294
square
#D8EA62 #62EAB8 #7462EA #EA6294
split-complementary
#D8EA62 #6294EA #B862EA
monochromatic
#A4B919 #CBE32C #D8EA62 #E5F198 #F3F8CE

Accessibility & contrast

On white

1.32
#D8EA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#D8EA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA62
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA62#FFFFFF#000000##000000
##D8EA621.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#F7E16A
Tritanopia (blue-blind)
#E4DECD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8ea62;
/* rgb */ color: rgb(216, 234, 98);
/* oklch */ color: oklch(89.8% 0.161 116.1);
Tailwind
colors: {
  custom: {
    50: '#e7f093',
    500: '#d8ea62',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea62;
$custom-light: #e7f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea62",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 98
  },
  "hsl": {
    "h": 67.941,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8975,
    "c": 0.1606,
    "h": 116.1
  },
  "luminance": 0.74326
}

Semantic roles & 50–950 ramp

primary
#D8EA62
secondary
#4938B8
accent
#0DD928
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EA62

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

Preview Lab → · Contrast checker → · Palette generator →

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