#D5DD52#D5DD52

#D5DD52 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.6% C 0.159 H 112.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#D5DD52
RGBrgb(213, 221, 82)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(3.6%, 0%, 62.9%, 13.3%)
CIE-LABlab(85.24, -20.15, 64.93)
CIE-LCHlch(85.24, 67.99, 107.24°)
OKLaboklab(86.58% -0.0608 0.1474)
OKLCHoklch(86.58% 0.159 112.4)
XYZxyz(54.8215, 66.4694, 17.9230)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DD52 #5A52DD
analogous
#DDA052 #D5DD52 #90DD52
triadic
#D5DD52 #52D5DD #DD52D5
tetradic
#D5DD52 #52DDA0 #5A52DD #DD5290
square
#D5DD52 #52DDA0 #5A52DD #DD5290
split-complementary
#D5DD52 #5290DD #A052DD
monochromatic
#90971E #C1CA28 #D5DD52 #E1E785 #EEF1B8

Accessibility & contrast

On white

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

On black

14.29
#D5DD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DD52
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DD52#FFFFFF#000000##000000
##D5DD521.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EDD75B
Tritanopia (blue-blind)
#E3D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d5dd52;
/* rgb */ color: rgb(213, 221, 82);
/* oklch */ color: oklch(86.6% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#e5e789',
    500: '#d5dd52',
    950: '#000000',
  },
}
SCSS
$custom: #d5dd52;
$custom-light: #e5e789;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dd52",
  "rgb": {
    "r": 213,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 63.453,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86577,
    "c": 0.15945,
    "h": 112.4
  },
  "luminance": 0.66468
}

Semantic roles & 50–950 ramp

primary
#D5DD52
secondary
#3E389B
accent
#3EEA48
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5DD52

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

Preview Lab → · Contrast checker → · Palette generator →

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