#D1DF52#D1DF52

#D1DF52 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.7% C 0.163 H 114.7°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#D1DF52
RGBrgb(209, 223, 82)
HSLhsl(66, 69%, 60%)
HSVhsv(66, 63%, 87%)
CMYKcmyk(6.3%, 0%, 63.2%, 12.5%)
CIE-LABlab(85.47, -22.75, 65.10)
CIE-LCHlch(85.47, 68.95, 109.26°)
OKLaboklab(86.69% -0.0679 0.1478)
OKLCHoklch(86.69% 0.163 114.7)
XYZxyz(54.2065, 66.9408, 18.0463)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF52 #6052DF
analogous
#DFA652 #D1DF52 #8BDF52
triadic
#D1DF52 #52D1DF #DF52D1
tetradic
#D1DF52 #52DFA6 #6052DF #DF528B
square
#D1DF52 #52DFA6 #6052DF #DF528B
split-complementary
#D1DF52 #528BDF #A652DF
monochromatic
#8E9A1D #BDCE26 #D1DF52 #DFE986 #ECF2B9

Accessibility & contrast

On white

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

On black

14.39
#D1DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DF52
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DF52#FFFFFF#000000##000000
##D1DF521.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#EDD75C
Tritanopia (blue-blind)
#DED3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d1df52;
/* rgb */ color: rgb(209, 223, 82);
/* oklch */ color: oklch(86.7% 0.163 114.7);
Tailwind
colors: {
  custom: {
    50: '#e2e889',
    500: '#d1df52',
    950: '#000000',
  },
}
SCSS
$custom: #d1df52;
$custom-light: #e2e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df52",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 65.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86694,
    "c": 0.16266,
    "h": 114.7
  },
  "luminance": 0.6694
}

Semantic roles & 50–950 ramp

primary
#D1DF52
secondary
#41379E
accent
#3CEC4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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