#D1DB52#D1DB52

#D1DB52 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.8% C 0.158 H 113.2°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#D1DB52
RGBrgb(209, 219, 82)
HSLhsl(64, 66%, 59%)
HSVhsv(64, 63%, 86%)
CMYKcmyk(4.6%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.40, -20.81, 63.95)
CIE-LCHlch(84.40, 67.25, 108.02°)
OKLaboklab(85.83% -0.0624 0.1454)
OKLCHoklch(85.83% 0.158 113.2)
XYZxyz(53.1504, 64.8286, 17.6943)
Luminance0.6483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB52 #5C52DB
analogous
#DBA152 #D1DB52 #8DDB52
triadic
#D1DB52 #52D1DB #DB52D1
tetradic
#D1DB52 #52DBA1 #5C52DB #DB528D
square
#D1DB52 #52DBA1 #5C52DB #DB528D
split-complementary
#D1DB52 #528DDB #A152DB
monochromatic
#8B941F #BBC629 #D1DB52 #DEE685 #ECF0B7

Accessibility & contrast

On white

1.50
#D1DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#D1DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB52
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB52#FFFFFF#000000##000000
##D1DB521.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#DECFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1db52;
/* rgb */ color: rgb(209, 219, 82);
/* oklch */ color: oklch(85.8% 0.158 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e689',
    500: '#d1db52',
    950: '#000000',
  },
}
SCSS
$custom: #d1db52;
$custom-light: #e2e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db52",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 64.38,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85831,
    "c": 0.15826,
    "h": 113.2
  },
  "luminance": 0.64828
}

Semantic roles & 50–950 ramp

primary
#D1DB52
secondary
#403999
accent
#3FE94C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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