#D2DD42#D2DD42

#D2DD42 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.2% C 0.171 H 113.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#D2DD42
RGBrgb(210, 221, 66)
HSLhsl(64, 70%, 56%)
HSVhsv(64, 70%, 87%)
CMYKcmyk(5%, 0%, 70.1%, 13.3%)
CIE-LABlab(84.90, -22.28, 70.57)
CIE-LCHlch(84.90, 74.01, 107.52°)
OKLaboklab(86.22% -0.0681 0.1569)
OKLCHoklch(86.22% 0.171 113.5)
XYZxyz(53.4197, 65.8090, 15.0416)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD42 #4D42DD
analogous
#DD9B42 #D2DD42 #85DD42
triadic
#D2DD42 #42D2DD #DD42D2
tetradic
#D2DD42 #42DD9B #4D42DD #DD4285
square
#D2DD42 #42DD9B #4D42DD #DD4285
split-complementary
#D2DD42 #4285DD #9B42DD
monochromatic
#838C19 #B4BF22 #D2DD42 #DEE676 #EBF0AA

Accessibility & contrast

On white

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

On black

14.16
#D2DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD42
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD42#FFFFFF#000000##000000
##D2DD421.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2dd42;
/* rgb */ color: rgb(210, 221, 66);
/* oklch */ color: oklch(86.2% 0.171 113.5);
Tailwind
colors: {
  custom: {
    50: '#e3e780',
    500: '#d2dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd42;
$custom-light: #e3e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd42",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 64.258,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86217,
    "c": 0.17105,
    "h": 113.5
  },
  "luminance": 0.65808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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