#D0DC52#D0DC52

#D0DC52 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.0% C 0.160 H 114.0°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D0DC52
RGBrgb(208, 220, 82)
HSLhsl(65, 66%, 59%)
HSVhsv(65, 63%, 86%)
CMYKcmyk(5.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(84.59, -21.70, 64.14)
CIE-LCHlch(84.59, 67.71, 108.69°)
OKLaboklab(85.97% -0.0649 0.1458)
OKLCHoklch(85.97% 0.16 114)
XYZxyz(53.1299, 65.2065, 17.7683)
Luminance0.6521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0DC52 #5E52DC
analogous
#DCA352 #D0DC52 #8BDC52
triadic
#D0DC52 #52D0DC #DC52D0
tetradic
#D0DC52 #52DCA3 #5E52DC #DC528B
square
#D0DC52 #52DCA3 #5E52DC #DC528B
split-complementary
#D0DC52 #528BDC #A352DC
monochromatic
#8B951E #BAC829 #D0DC52 #DEE685 #ECF1B8

Accessibility & contrast

On white

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

On black

14.04
#D0DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0DC52
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0DC52#FFFFFF#000000##000000
##D0DC521.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#DDD0BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d0dc52;
/* rgb */ color: rgb(208, 220, 82);
/* oklch */ color: oklch(86.0% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#e1e689',
    500: '#d0dc52',
    950: '#000000',
  },
}
SCSS
$custom: #d0dc52;
$custom-light: #e1e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d0dc52",
  "rgb": {
    "r": 208,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 65.217,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85968,
    "c": 0.15962,
    "h": 114
  },
  "luminance": 0.65205
}

Semantic roles & 50–950 ramp

primary
#D0DC52
secondary
#41389A
accent
#3FE94D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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