#D8EF52#D8EF52

#D8EF52 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 90.7% C 0.178 H 117.3°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#D8EF52
RGBrgb(216, 239, 82)
HSLhsl(69, 83%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(9.6%, 0%, 65.7%, 6.3%)
CIE-LABlab(90.29, -27.56, 70.28)
CIE-LCHlch(90.29, 75.49, 111.42°)
OKLaboklab(90.69% -0.0817 0.1586)
OKLCHoklch(90.69% 0.178 117.3)
XYZxyz(60.7097, 76.9418, 19.6341)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EF52 #6952EF
analogous
#EFB852 #D8EF52 #89EF52
triadic
#D8EF52 #52D8EF #EF52D8
tetradic
#D8EF52 #52EFB8 #6952EF #EF5289
square
#D8EF52 #52EFB8 #6952EF #EF5289
split-complementary
#D8EF52 #5289EF #B852EF
monochromatic
#9EB611 #CBEA1A #D8EF52 #E5F48A #F1F9C2

Accessibility & contrast

On white

1.28
#D8EF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#D8EF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EF52
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EF52#FFFFFF#000000##000000
##D8EF521.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33C
Deuteranopia (green-blind)
#FCE45E
Tritanopia (blue-blind)
#E5E2CF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d8ef52;
/* rgb */ color: rgb(216, 239, 82);
/* oklch */ color: oklch(90.7% 0.178 117.3);
Tailwind
colors: {
  custom: {
    50: '#e7f48a',
    500: '#d8ef52',
    950: '#000000',
  },
}
SCSS
$custom: #d8ef52;
$custom-light: #e7f48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ef52",
  "rgb": {
    "r": 216,
    "g": 239,
    "b": 82
  },
  "hsl": {
    "h": 68.79,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90687,
    "c": 0.17841,
    "h": 117.3
  },
  "luminance": 0.76941
}

Semantic roles & 50–950 ramp

primary
#D8EF52
secondary
#4330B5
accent
#06DF26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8EF52

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

Preview Lab → · Contrast checker → · Palette generator →

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