#D3DC52#D3DC52

#D3DC52 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.2% C 0.159 H 112.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#D3DC52
RGBrgb(211, 220, 82)
HSLhsl(64, 66%, 59%)
HSVhsv(64, 63%, 86%)
CMYKcmyk(4.1%, 0%, 62.7%, 13.7%)
CIE-LABlab(84.82, -20.48, 64.44)
CIE-LCHlch(84.82, 67.62, 107.63°)
OKLaboklab(86.2% -0.0616 0.1464)
OKLCHoklch(86.2% 0.159 112.8)
XYZxyz(53.9816, 65.6456, 17.8082)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DC52 #5B52DC
analogous
#DCA052 #D3DC52 #8EDC52
triadic
#D3DC52 #52D3DC #DC52D3
tetradic
#D3DC52 #52DCA0 #5B52DC #DC528E
square
#D3DC52 #52DCA0 #5B52DC #DC528E
split-complementary
#D3DC52 #528EDC #A052DC
monochromatic
#8E951E #BEC829 #D3DC52 #E0E685 #EDF1B8

Accessibility & contrast

On white

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

On black

14.13
#D3DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DC52
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DC52#FFFFFF#000000##000000
##D3DC521.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD240
Deuteranopia (green-blind)
#ECD55B
Tritanopia (blue-blind)
#E0D0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d3dc52;
/* rgb */ color: rgb(211, 220, 82);
/* oklch */ color: oklch(86.2% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e689',
    500: '#d3dc52',
    950: '#000000',
  },
}
SCSS
$custom: #d3dc52;
$custom-light: #e3e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d3dc52",
  "rgb": {
    "r": 211,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 63.913,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86204,
    "c": 0.15885,
    "h": 112.8
  },
  "luminance": 0.65644
}

Semantic roles & 50–950 ramp

primary
#D3DC52
secondary
#3F389A
accent
#3FE94A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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