#D4DD42#D4DD42

#D4DD42 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.171 H 112.8°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D4DD42
RGBrgb(212, 221, 66)
HSLhsl(63, 70%, 56%)
HSVhsv(63, 70%, 87%)
CMYKcmyk(4.1%, 0%, 70.1%, 13.3%)
CIE-LABlab(85.05, -21.46, 70.77)
CIE-LCHlch(85.05, 73.96, 106.87°)
OKLaboklab(86.38% -0.066 0.1573)
OKLCHoklch(86.38% 0.171 112.8)
XYZxyz(53.9928, 66.1045, 15.0684)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DD42 #4B42DD
analogous
#DD9942 #D4DD42 #87DD42
triadic
#D4DD42 #42D4DD #DD42D4
tetradic
#D4DD42 #42DD99 #4B42DD #DD4287
square
#D4DD42 #42DD99 #4B42DD #DD4287
split-complementary
#D4DD42 #4287DD #9942DD
monochromatic
#858C19 #B6BF22 #D4DD42 #E0E676 #ECF0AA

Accessibility & contrast

On white

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

On black

14.22
#D4DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DD42
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DD42#FFFFFF#000000##000000
##D4DD421.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD327
Deuteranopia (green-blind)
#EED64E
Tritanopia (blue-blind)
#E2D0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dd42;
/* rgb */ color: rgb(212, 221, 66);
/* oklch */ color: oklch(86.4% 0.171 112.8);
Tailwind
colors: {
  custom: {
    50: '#e5e780',
    500: '#d4dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d4dd42;
$custom-light: #e5e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dd42",
  "rgb": {
    "r": 212,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 63.484,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86375,
    "c": 0.17053,
    "h": 112.8
  },
  "luminance": 0.66103
}

Semantic roles & 50–950 ramp

primary
#D4DD42
secondary
#383291
accent
#3BEC46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D4DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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