#D8EA52#D8EA52

#D8EA52 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 89.6% C 0.173 H 115.8°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#D8EA52
RGBrgb(216, 234, 82)
HSLhsl(67, 78%, 62%)
HSVhsv(67, 65%, 92%)
CMYKcmyk(7.7%, 0%, 65%, 8.2%)
CIE-LABlab(88.95, -25.20, 68.88)
CIE-LCHlch(88.95, 73.35, 110.09°)
OKLaboklab(89.61% -0.0751 0.1557)
OKLCHoklch(89.61% 0.173 115.8)
XYZxyz(59.2661, 74.0546, 19.1529)
Luminance0.7405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA52 #6452EA
analogous
#EAB052 #D8EA52 #8CEA52
triadic
#D8EA52 #52D8EA #EA52D8
tetradic
#D8EA52 #52EAB0 #6452EA #EA528C
square
#D8EA52 #52EAB0 #6452EA #EA528C
split-complementary
#D8EA52 #528CEA #B052EA
monochromatic
#9BAD15 #CCE31C #D8EA52 #E4F189 #F1F7BF

Accessibility & contrast

On white

1.33
#D8EA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#D8EA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA52
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA52#FFFFFF#000000##000000
##D8EA521.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE3D
Deuteranopia (green-blind)
#F8E15D
Tritanopia (blue-blind)
#E5DDCB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d8ea52;
/* rgb */ color: rgb(216, 234, 82);
/* oklch */ color: oklch(89.6% 0.173 115.8);
Tailwind
colors: {
  custom: {
    50: '#e7f08a',
    500: '#d8ea52',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea52;
$custom-light: #e7f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea52",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 82
  },
  "hsl": {
    "h": 67.105,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.89606,
    "c": 0.17284,
    "h": 115.8
  },
  "luminance": 0.74054
}

Semantic roles & 50–950 ramp

primary
#D8EA52
secondary
#4133AE
accent
#0BDB23
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EA52

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

Preview Lab → · Contrast checker → · Palette generator →

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