#D2DF52#D2DF52

#D2DF52 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.8% C 0.162 H 114.3°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#D2DF52
RGBrgb(210, 223, 82)
HSLhsl(66, 69%, 60%)
HSVhsv(66, 63%, 87%)
CMYKcmyk(5.8%, 0%, 63.2%, 12.5%)
CIE-LABlab(85.55, -22.34, 65.20)
CIE-LCHlch(85.55, 68.92, 108.92°)
OKLaboklab(86.77% -0.0668 0.148)
OKLCHoklch(86.77% 0.162 114.3)
XYZxyz(54.4904, 67.0871, 18.0596)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF52 #5F52DF
analogous
#DFA652 #D2DF52 #8CDF52
triadic
#D2DF52 #52D2DF #DF52D2
tetradic
#D2DF52 #52DFA6 #5F52DF #DF528C
square
#D2DF52 #52DFA6 #5F52DF #DF528C
split-complementary
#D2DF52 #528CDF #A652DF
monochromatic
#8F9A1D #BECE26 #D2DF52 #DFE986 #EDF2B9

Accessibility & contrast

On white

1.46
#D2DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#D2DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF52
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF52#FFFFFF#000000##000000
##D2DF521.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED540
Deuteranopia (green-blind)
#EED75C
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df52;
/* rgb */ color: rgb(210, 223, 82);
/* oklch */ color: oklch(86.8% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#e3e889',
    500: '#d2df52',
    950: '#000000',
  },
}
SCSS
$custom: #d2df52;
$custom-light: #e3e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df52",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 65.532,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86772,
    "c": 0.16239,
    "h": 114.3
  },
  "luminance": 0.67086
}

Semantic roles & 50–950 ramp

primary
#D2DF52
secondary
#41379E
accent
#3CEC4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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