#D8EB52#D8EB52

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

Color values

HEX#D8EB52
RGBrgb(216, 235, 82)
HSLhsl(67, 79%, 62%)
HSVhsv(67, 65%, 92%)
CMYKcmyk(8.1%, 0%, 65.1%, 7.8%)
CIE-LABlab(89.22, -25.68, 69.16)
CIE-LCHlch(89.22, 73.78, 110.37°)
OKLaboklab(89.82% -0.0765 0.1562)
OKLCHoklch(89.82% 0.174 116.1)
XYZxyz(59.5516, 74.6256, 19.2480)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB52 #6552EB
analogous
#EBB252 #D8EB52 #8CEB52
triadic
#D8EB52 #52D8EB #EB52D8
tetradic
#D8EB52 #52EBB2 #6552EB #EB528C
square
#D8EB52 #52EBB2 #6552EB #EB528C
split-complementary
#D8EB52 #528CEB #B252EB
monochromatic
#9BAE14 #CCE51B #D8EB52 #E4F189 #F1F8C0

Accessibility & contrast

On white

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

On black

15.93
#D8EB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB52
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB52#FFFFFF#000000##000000
##D8EB521.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF3D
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#E5DECC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb52;
/* rgb */ color: rgb(216, 235, 82);
/* oklch */ color: oklch(89.8% 0.174 116.1);
Tailwind
colors: {
  custom: {
    50: '#e7f18a',
    500: '#d8eb52',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb52;
$custom-light: #e7f18a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb52",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 82
  },
  "hsl": {
    "h": 67.451,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89822,
    "c": 0.17395,
    "h": 116.1
  },
  "luminance": 0.74625
}

Semantic roles & 50–950 ramp

primary
#D8EB52
secondary
#4232AF
accent
#0ADC24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EB52

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

Preview Lab → · Contrast checker → · Palette generator →

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