#D1DA52#D1DA52

#D1DA52 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.6% C 0.157 H 112.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D1DA52
RGBrgb(209, 218, 82)
HSLhsl(64, 65%, 59%)
HSVhsv(64, 62%, 85%)
CMYKcmyk(4.1%, 0%, 62.4%, 14.5%)
CIE-LABlab(84.13, -20.32, 63.67)
CIE-LCHlch(84.13, 66.83, 107.70°)
OKLaboklab(85.62% -0.061 0.1448)
OKLCHoklch(85.62% 0.157 112.9)
XYZxyz(52.8903, 64.3084, 17.6076)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DA52 #5B52DA
analogous
#DA9F52 #D1DA52 #8DDA52
triadic
#D1DA52 #52D1DA #DA52D1
tetradic
#D1DA52 #52DA9F #5B52DA #DA528D
square
#D1DA52 #52DA9F #5B52DA #DA528D
split-complementary
#D1DA52 #528DDA #9F52DA
monochromatic
#8B921F #BAC52A #D1DA52 #DEE584 #ECF0B7

Accessibility & contrast

On white

1.51
#D1DA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D1DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DA52
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DA52#FFFFFF#000000##000000
##D1DA521.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#DECEBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1da52;
/* rgb */ color: rgb(209, 218, 82);
/* oklch */ color: oklch(85.6% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#e2e589',
    500: '#d1da52',
    950: '#000000',
  },
}
SCSS
$custom: #d1da52;
$custom-light: #e2e589;
$custom-dark: #000000;
JSON
{
  "hex": "#d1da52",
  "rgb": {
    "r": 209,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 63.971,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85615,
    "c": 0.15716,
    "h": 112.9
  },
  "luminance": 0.64307
}

Semantic roles & 50–950 ramp

primary
#D1DA52
secondary
#3F3997
accent
#40E84B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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