#D9DA52#D9DA52

#D9DA52 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.155 H 109.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#D9DA52
RGBrgb(217, 218, 82)
HSLhsl(60, 65%, 59%)
HSVhsv(60, 62%, 85%)
CMYKcmyk(0.5%, 0%, 62.4%, 14.5%)
CIE-LABlab(84.74, -17.05, 64.51)
CIE-LCHlch(84.74, 66.72, 104.80°)
OKLaboklab(86.26% -0.0523 0.1464)
OKLCHoklch(86.26% 0.155 109.7)
XYZxyz(55.2114, 65.5052, 17.7164)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DA52 #5352DA
analogous
#DA9752 #D9DA52 #95DA52
triadic
#D9DA52 #52D9DA #DA52D9
tetradic
#D9DA52 #52DA97 #5352DA #DA5295
square
#D9DA52 #52DA97 #5352DA #DA5295
split-complementary
#D9DA52 #5295DA #9752DA
monochromatic
#91921F #C4C52A #D9DA52 #E4E584 #EFF0B7

Accessibility & contrast

On white

1.49
#D9DA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#D9DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DA52
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DA52#FFFFFF#000000##000000
##D9DA521.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9da52;
/* rgb */ color: rgb(217, 218, 82);
/* oklch */ color: oklch(86.3% 0.155 109.7);
Tailwind
colors: {
  custom: {
    50: '#e8e589',
    500: '#d9da52',
    950: '#000000',
  },
}
SCSS
$custom: #d9da52;
$custom-light: #e8e589;
$custom-dark: #000000;
JSON
{
  "hex": "#d9da52",
  "rgb": {
    "r": 217,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 60.441,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8626,
    "c": 0.15547,
    "h": 109.7
  },
  "luminance": 0.65504
}

Semantic roles & 50–950 ramp

primary
#D9DA52
secondary
#3A3997
accent
#40E841
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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