#D5DC52#D5DC52

#D5DC52 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.4% C 0.158 H 112.0°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#D5DC52
RGBrgb(213, 220, 82)
HSLhsl(63, 66%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(3.2%, 0%, 62.7%, 13.7%)
CIE-LABlab(84.97, -19.67, 64.65)
CIE-LCHlch(84.97, 67.58, 106.92°)
OKLaboklab(86.36% -0.0594 0.1468)
OKLCHoklch(86.36% 0.158 112)
XYZxyz(54.5583, 65.9429, 17.8353)
Luminance0.6594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC52 #5952DC
analogous
#DC9E52 #D5DC52 #90DC52
triadic
#D5DC52 #52D5DC #DC52D5
tetradic
#D5DC52 #52DC9E #5952DC #DC5290
square
#D5DC52 #52DC9E #5952DC #DC5290
split-complementary
#D5DC52 #5290DC #9E52DC
monochromatic
#8F951E #C0C829 #D5DC52 #E1E685 #EEF1B8

Accessibility & contrast

On white

1.48
#D5DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#D5DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DC52
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DC52#FFFFFF#000000##000000
##D5DC521.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD240
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#E3CFBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d5dc52;
/* rgb */ color: rgb(213, 220, 82);
/* oklch */ color: oklch(86.4% 0.158 112.0);
Tailwind
colors: {
  custom: {
    50: '#e5e689',
    500: '#d5dc52',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc52;
$custom-light: #e5e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc52",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 63.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86363,
    "c": 0.15838,
    "h": 112
  },
  "luminance": 0.65942
}

Semantic roles & 50–950 ramp

primary
#D5DC52
secondary
#3D389A
accent
#3FE947
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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