#D8E452#D8E452

#D8E452 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.3% C 0.166 H 113.8°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#D8E452
RGBrgb(216, 228, 82)
HSLhsl(65, 73%, 61%)
HSVhsv(65, 64%, 89%)
CMYKcmyk(5.3%, 0%, 64%, 10.6%)
CIE-LABlab(87.34, -22.33, 67.21)
CIE-LCHlch(87.34, 70.82, 108.38°)
OKLaboklab(88.32% -0.0671 0.1521)
OKLCHoklch(88.32% 0.166 113.8)
XYZxyz(57.5868, 70.6960, 18.5931)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E452 #5E52E4
analogous
#E4A752 #D8E452 #8FE452
triadic
#D8E452 #52D8E4 #E452D8
tetradic
#D8E452 #52E4A7 #5E52E4 #E4528F
square
#D8E452 #52E4A7 #5E52E4 #E4528F
split-complementary
#D8E452 #528FE4 #A752E4
monochromatic
#97A219 #C8D722 #D8E452 #E4EC87 #F0F5BC

Accessibility & contrast

On white

1.39
#D8E452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#D8E452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E452
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E452#FFFFFF#000000##000000
##D8E4521.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93E
Deuteranopia (green-blind)
#F4DC5C
Tritanopia (blue-blind)
#E6D7C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e452;
/* rgb */ color: rgb(216, 228, 82);
/* oklch */ color: oklch(88.3% 0.166 113.8);
Tailwind
colors: {
  custom: {
    50: '#e7ec8a',
    500: '#d8e452',
    950: '#000000',
  },
}
SCSS
$custom: #d8e452;
$custom-light: #e7ec8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e452",
  "rgb": {
    "r": 216,
    "g": 228,
    "b": 82
  },
  "hsl": {
    "h": 64.932,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88315,
    "c": 0.16627,
    "h": 113.8
  },
  "luminance": 0.70695
}

Semantic roles & 50–950 ramp

primary
#D8E452
secondary
#3F35A5
accent
#10D521
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E452

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

Preview Lab → · Contrast checker → · Palette generator →

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