#D9DF52#D9DF52

#D9DF52 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.3% C 0.161 H 111.6°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#D9DF52
RGBrgb(217, 223, 82)
HSLhsl(63, 69%, 60%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(2.7%, 0%, 63.2%, 12.5%)
CIE-LABlab(86.08, -19.50, 65.91)
CIE-LCHlch(86.08, 68.74, 106.48°)
OKLaboklab(87.32% -0.0592 0.1494)
OKLCHoklch(87.32% 0.161 111.6)
XYZxyz(56.5276, 68.1376, 18.1551)
Luminance0.6814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DF52 #5852DF
analogous
#DF9E52 #D9DF52 #93DF52
triadic
#D9DF52 #52D9DF #DF52D9
tetradic
#D9DF52 #52DF9E #5852DF #DF5293
square
#D9DF52 #52DF9E #5852DF #DF5293
split-complementary
#D9DF52 #5293DF #9E52DF
monochromatic
#959A1D #C7CE26 #D9DF52 #E4E986 #F0F2B9

Accessibility & contrast

On white

1.44
#D9DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#D9DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DF52
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DF52#FFFFFF#000000##000000
##D9DF521.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#E7D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d9df52;
/* rgb */ color: rgb(217, 223, 82);
/* oklch */ color: oklch(87.3% 0.161 111.6);
Tailwind
colors: {
  custom: {
    50: '#e8e889',
    500: '#d9df52',
    950: '#000000',
  },
}
SCSS
$custom: #d9df52;
$custom-light: #e8e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d9df52",
  "rgb": {
    "r": 217,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 62.553,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87324,
    "c": 0.16068,
    "h": 111.6
  },
  "luminance": 0.68136
}

Semantic roles & 50–950 ramp

primary
#D9DF52
secondary
#3C379E
accent
#3CEC44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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