#D3DD52#D3DD52

#D3DD52 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.4% C 0.160 H 113.2°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#D3DD52
RGBrgb(211, 221, 82)
HSLhsl(64, 67%, 59%)
HSVhsv(64, 63%, 87%)
CMYKcmyk(4.5%, 0%, 62.9%, 13.3%)
CIE-LABlab(85.08, -20.97, 64.73)
CIE-LCHlch(85.08, 68.04, 107.95°)
OKLaboklab(86.42% -0.063 0.147)
OKLCHoklch(86.42% 0.16 113.2)
XYZxyz(54.2448, 66.1721, 17.8960)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DD52 #5C52DD
analogous
#DDA252 #D3DD52 #8DDD52
triadic
#D3DD52 #52D3DD #DD52D3
tetradic
#D3DD52 #52DDA2 #5C52DD #DD528D
square
#D3DD52 #52DDA2 #5C52DD #DD528D
split-complementary
#D3DD52 #528DDD #A252DD
monochromatic
#8E971E #BECA28 #D3DD52 #E0E785 #EDF1B8

Accessibility & contrast

On white

1.48
#D3DD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#D3DD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DD52
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DD52#FFFFFF#000000##000000
##D3DD521.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3dd52;
/* rgb */ color: rgb(211, 221, 82);
/* oklch */ color: oklch(86.4% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e789',
    500: '#d3dd52',
    950: '#000000',
  },
}
SCSS
$custom: #d3dd52;
$custom-light: #e3e789;
$custom-dark: #000000;
JSON
{
  "hex": "#d3dd52",
  "rgb": {
    "r": 211,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 64.317,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86419,
    "c": 0.15994,
    "h": 113.2
  },
  "luminance": 0.66171
}

Semantic roles & 50–950 ramp

primary
#D3DD52
secondary
#3F389B
accent
#3EEA4A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D3DD52

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

Preview Lab → · Contrast checker → · Palette generator →

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