#D8DD42#D8DD42

#D8DD42 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.7% C 0.170 H 111.3°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#D8DD42
RGBrgb(216, 221, 66)
HSLhsl(62, 70%, 56%)
HSVhsv(62, 70%, 87%)
CMYKcmyk(2.3%, 0%, 70.1%, 13.3%)
CIE-LABlab(85.36, -19.82, 71.18)
CIE-LCHlch(85.36, 73.88, 105.56°)
OKLaboklab(86.7% -0.0616 0.158)
OKLCHoklch(86.7% 0.17 111.3)
XYZxyz(55.1605, 66.7066, 15.1232)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD42 #4742DD
analogous
#DD9442 #D8DD42 #8BDD42
triadic
#D8DD42 #42D8DD #DD42D8
tetradic
#D8DD42 #42DD94 #4742DD #DD428B
square
#D8DD42 #42DD94 #4742DD #DD428B
split-complementary
#D8DD42 #428BDD #9442DD
monochromatic
#888C19 #BABF22 #D8DD42 #E3E676 #EDF0AA

Accessibility & contrast

On white

1.46
#D8DD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#D8DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD42
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD42#FFFFFF#000000##000000
##D8DD421.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED327
Deuteranopia (green-blind)
#EFD74E
Tritanopia (blue-blind)
#E7CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dd42;
/* rgb */ color: rgb(216, 221, 66);
/* oklch */ color: oklch(86.7% 0.170 111.3);
Tailwind
colors: {
  custom: {
    50: '#e8e780',
    500: '#d8dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd42;
$custom-light: #e8e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd42",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 61.935,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86695,
    "c": 0.16956,
    "h": 111.3
  },
  "luminance": 0.66705
}

Semantic roles & 50–950 ramp

primary
#D8DD42
secondary
#353291
accent
#3BEC41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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