#D1DD42#D1DD42

#D1DD42 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.1% C 0.171 H 113.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#D1DD42
RGBrgb(209, 221, 66)
HSLhsl(65, 70%, 56%)
HSVhsv(65, 70%, 87%)
CMYKcmyk(5.4%, 0%, 70.1%, 13.3%)
CIE-LABlab(84.82, -22.69, 70.48)
CIE-LCHlch(84.82, 74.04, 107.85°)
OKLaboklab(86.14% -0.0692 0.1567)
OKLCHoklch(86.14% 0.171 113.8)
XYZxyz(53.1358, 65.6626, 15.0282)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DD42 #4E42DD
analogous
#DD9C42 #D1DD42 #84DD42
triadic
#D1DD42 #42D1DD #DD42D1
tetradic
#D1DD42 #42DD9C #4E42DD #DD4284
square
#D1DD42 #42DD9C #4E42DD #DD4284
split-complementary
#D1DD42 #4284DD #9C42DD
monochromatic
#838C19 #B3BF22 #D1DD42 #DEE676 #EAF0AA

Accessibility & contrast

On white

1.49
#D1DD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#D1DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DD42
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DD42#FFFFFF#000000##000000
##D1DD421.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD227
Deuteranopia (green-blind)
#EDD54E
Tritanopia (blue-blind)
#DFD0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1dd42;
/* rgb */ color: rgb(209, 221, 66);
/* oklch */ color: oklch(86.1% 0.171 113.8);
Tailwind
colors: {
  custom: {
    50: '#e3e780',
    500: '#d1dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d1dd42;
$custom-light: #e3e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dd42",
  "rgb": {
    "r": 209,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 64.645,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86138,
    "c": 0.17133,
    "h": 113.8
  },
  "luminance": 0.65662
}

Semantic roles & 50–950 ramp

primary
#D1DD42
secondary
#393291
accent
#3BEC49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D1DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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