#D5DA52#D5DA52

#D5DA52 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.9% C 0.156 H 111.3°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D5DA52
RGBrgb(213, 218, 82)
HSLhsl(62, 65%, 59%)
HSVhsv(62, 62%, 85%)
CMYKcmyk(2.3%, 0%, 62.4%, 14.5%)
CIE-LABlab(84.43, -18.69, 64.09)
CIE-LCHlch(84.43, 66.75, 106.26°)
OKLaboklab(85.93% -0.0567 0.1456)
OKLCHoklch(85.93% 0.156 111.3)
XYZxyz(54.0365, 64.8994, 17.6613)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DA52 #5752DA
analogous
#DA9B52 #D5DA52 #91DA52
triadic
#D5DA52 #52D5DA #DA52D5
tetradic
#D5DA52 #52DA9B #5752DA #DA5291
square
#D5DA52 #52DA9B #5752DA #DA5291
split-complementary
#D5DA52 #5291DA #9B52DA
monochromatic
#8E921F #BFC52A #D5DA52 #E1E584 #EDF0B7

Accessibility & contrast

On white

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

On black

13.98
#D5DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DA52
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DA52#FFFFFF#000000##000000
##D5DA521.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5da52;
/* rgb */ color: rgb(213, 218, 82);
/* oklch */ color: oklch(85.9% 0.156 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e589',
    500: '#d5da52',
    950: '#000000',
  },
}
SCSS
$custom: #d5da52;
$custom-light: #e5e589;
$custom-dark: #000000;
JSON
{
  "hex": "#d5da52",
  "rgb": {
    "r": 213,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 62.206,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85935,
    "c": 0.15626,
    "h": 111.3
  },
  "luminance": 0.64898
}

Semantic roles & 50–950 ramp

primary
#D5DA52
secondary
#3C3997
accent
#40E846
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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