#D4DE52#D4DE52

#D4DE52 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.7% C 0.161 H 113.2°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#D4DE52
RGBrgb(212, 222, 82)
HSLhsl(64, 68%, 60%)
HSVhsv(64, 63%, 87%)
CMYKcmyk(4.5%, 0%, 63.1%, 12.9%)
CIE-LABlab(85.43, -21.05, 65.11)
CIE-LCHlch(85.43, 68.43, 107.91°)
OKLaboklab(86.71% -0.0633 0.1478)
OKLCHoklch(86.71% 0.161 113.2)
XYZxyz(54.7971, 66.8499, 17.9977)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DE52 #5C52DE
analogous
#DEA252 #D4DE52 #8EDE52
triadic
#D4DE52 #52D4DE #DE52D4
tetradic
#D4DE52 #52DEA2 #5C52DE #DE528E
square
#D4DE52 #52DEA2 #5C52DE #DE528E
split-complementary
#D4DE52 #528EDE #A252DE
monochromatic
#90991D #C0CC27 #D4DE52 #E1E885 #EEF2B9

Accessibility & contrast

On white

1.46
#D4DE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#D4DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DE52
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DE52#FFFFFF#000000##000000
##D4DE521.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#E1D1C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d4de52;
/* rgb */ color: rgb(212, 222, 82);
/* oklch */ color: oklch(86.7% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#e4e889',
    500: '#d4de52',
    950: '#000000',
  },
}
SCSS
$custom: #d4de52;
$custom-light: #e4e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d4de52",
  "rgb": {
    "r": 212,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 64.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86713,
    "c": 0.16078,
    "h": 113.2
  },
  "luminance": 0.66849
}

Semantic roles & 50–950 ramp

primary
#D4DE52
secondary
#3F389D
accent
#3DEB49
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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