#D0DD42#D0DD42

#D0DD42 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.1% C 0.172 H 114.2°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#D0DD42
RGBrgb(208, 221, 66)
HSLhsl(65, 70%, 56%)
HSVhsv(65, 70%, 87%)
CMYKcmyk(5.9%, 0%, 70.1%, 13.3%)
CIE-LABlab(84.75, -23.10, 70.38)
CIE-LCHlch(84.75, 74.07, 108.17°)
OKLaboklab(86.06% -0.0703 0.1565)
OKLCHoklch(86.06% 0.172 114.2)
XYZxyz(52.8537, 65.5172, 15.0150)
Luminance0.6552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0DD42 #4F42DD
analogous
#DD9D42 #D0DD42 #83DD42
triadic
#D0DD42 #42D0DD #DD42D0
tetradic
#D0DD42 #42DD9D #4F42DD #DD4283
square
#D0DD42 #42DD9D #4F42DD #DD4283
split-complementary
#D0DD42 #4283DD #9D42DD
monochromatic
#828C19 #B2BF22 #D0DD42 #DDE676 #EAF0AA

Accessibility & contrast

On white

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

On black

14.10
#D0DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0DD42
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0DD42#FFFFFF#000000##000000
##D0DD421.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0dd42;
/* rgb */ color: rgb(208, 221, 66);
/* oklch */ color: oklch(86.1% 0.172 114.2);
Tailwind
colors: {
  custom: {
    50: '#e2e780',
    500: '#d0dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d0dd42;
$custom-light: #e2e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d0dd42",
  "rgb": {
    "r": 208,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 65.032,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8606,
    "c": 0.17161,
    "h": 114.2
  },
  "luminance": 0.65516
}

Semantic roles & 50–950 ramp

primary
#D0DD42
secondary
#3A3291
accent
#3BEC4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D0DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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