#D9DC52#D9DC52

#D9DC52 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.7% C 0.158 H 110.5°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D9DC52
RGBrgb(217, 220, 82)
HSLhsl(61, 66%, 59%)
HSVhsv(61, 63%, 86%)
CMYKcmyk(1.4%, 0%, 62.7%, 13.7%)
CIE-LABlab(85.28, -18.03, 65.07)
CIE-LCHlch(85.28, 67.52, 105.49°)
OKLaboklab(86.69% -0.0551 0.1476)
OKLCHoklch(86.69% 0.158 110.5)
XYZxyz(55.7331, 66.5487, 17.8903)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC52 #5552DC
analogous
#DC9A52 #D9DC52 #94DC52
triadic
#D9DC52 #52D9DC #DC52D9
tetradic
#D9DC52 #52DC9A #5552DC #DC5294
square
#D9DC52 #52DC9A #5552DC #DC5294
split-complementary
#D9DC52 #5294DC #9A52DC
monochromatic
#93951E #C5C829 #D9DC52 #E4E685 #EFF1B8

Accessibility & contrast

On white

1.47
#D9DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#D9DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC52
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC52#FFFFFF#000000##000000
##D9DC521.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9dc52;
/* rgb */ color: rgb(217, 220, 82);
/* oklch */ color: oklch(86.7% 0.158 110.5);
Tailwind
colors: {
  custom: {
    50: '#e8e689',
    500: '#d9dc52',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc52;
$custom-light: #e8e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc52",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 61.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86685,
    "c": 0.15753,
    "h": 110.5
  },
  "luminance": 0.66547
}

Semantic roles & 50–950 ramp

primary
#D9DC52
secondary
#3A389A
accent
#3FE942
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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