#D1DD48#D1DD48

#D1DD48 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.2% C 0.168 H 113.9°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#D1DD48
RGBrgb(209, 221, 72)
HSLhsl(65, 69%, 57%)
HSVhsv(65, 67%, 87%)
CMYKcmyk(5.4%, 0%, 67.4%, 13.3%)
CIE-LABlab(84.86, -22.38, 68.34)
CIE-LCHlch(84.86, 71.91, 108.13°)
OKLaboklab(86.18% -0.0678 0.1532)
OKLCHoklch(86.18% 0.168 113.9)
XYZxyz(53.3221, 65.7371, 16.0092)
Luminance0.6574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DD48 #5448DD
analogous
#DD9E48 #D1DD48 #87DD48
triadic
#D1DD48 #48D1DD #DD48D1
tetradic
#D1DD48 #48DD9E #5448DD #DD4887
square
#D1DD48 #48DD9E #5448DD #DD4887
split-complementary
#D1DD48 #4887DD #9E48DD
monochromatic
#86901B #B7C324 #D1DD48 #DEE77C #EBF0AF

Accessibility & contrast

On white

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

On black

14.15
#D1DD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DD48
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DD48#FFFFFF#000000##000000
##D1DD481.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD331
Deuteranopia (green-blind)
#ECD553
Tritanopia (blue-blind)
#DED0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1dd48;
/* rgb */ color: rgb(209, 221, 72);
/* oklch */ color: oklch(86.2% 0.168 113.9);
Tailwind
colors: {
  custom: {
    50: '#e2e783',
    500: '#d1dd48',
    950: '#000000',
  },
}
SCSS
$custom: #d1dd48;
$custom-light: #e2e783;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dd48",
  "rgb": {
    "r": 209,
    "g": 221,
    "b": 72
  },
  "hsl": {
    "h": 64.832,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86181,
    "c": 0.16751,
    "h": 113.9
  },
  "luminance": 0.65736
}

Semantic roles & 50–950 ramp

primary
#D1DD48
secondary
#3C3495
accent
#3CEC4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D1DD48

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

Preview Lab → · Contrast checker → · Palette generator →

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