#D8DE52#D8DE52

#D8DE52 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.0% C 0.160 H 111.6°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#D8DE52
RGBrgb(216, 222, 82)
HSLhsl(63, 68%, 60%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(2.7%, 0%, 63.1%, 12.9%)
CIE-LABlab(85.73, -19.42, 65.53)
CIE-LCHlch(85.73, 68.34, 106.51°)
OKLaboklab(87.03% -0.0589 0.1486)
OKLCHoklch(87.03% 0.16 111.6)
XYZxyz(55.9648, 67.4520, 18.0524)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DE52 #5852DE
analogous
#DE9E52 #D8DE52 #92DE52
triadic
#D8DE52 #52D8DE #DE52D8
tetradic
#D8DE52 #52DE9E #5852DE #DE5292
square
#D8DE52 #52DE9E #5852DE #DE5292
split-complementary
#D8DE52 #5292DE #9E52DE
monochromatic
#93991D #C5CC27 #D8DE52 #E4E885 #EFF2B9

Accessibility & contrast

On white

1.45
#D8DE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#D8DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DE52
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DE52#FFFFFF#000000##000000
##D8DE521.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#E6D1C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8de52;
/* rgb */ color: rgb(216, 222, 82);
/* oklch */ color: oklch(87.0% 0.160 111.6);
Tailwind
colors: {
  custom: {
    50: '#e7e889',
    500: '#d8de52',
    950: '#000000',
  },
}
SCSS
$custom: #d8de52;
$custom-light: #e7e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d8de52",
  "rgb": {
    "r": 216,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 62.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8703,
    "c": 0.15984,
    "h": 111.6
  },
  "luminance": 0.67451
}

Semantic roles & 50–950 ramp

primary
#D8DE52
secondary
#3C389D
accent
#3DEB44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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