#D5DD42#D5DD42

#D5DD42 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.5% C 0.170 H 112.4°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D5DD42
RGBrgb(213, 221, 66)
HSLhsl(63, 70%, 56%)
HSVhsv(63, 70%, 87%)
CMYKcmyk(3.6%, 0%, 70.1%, 13.3%)
CIE-LABlab(85.13, -21.05, 70.87)
CIE-LCHlch(85.13, 73.93, 106.54°)
OKLaboklab(86.45% -0.0649 0.1574)
OKLCHoklch(86.45% 0.17 112.4)
XYZxyz(54.2821, 66.2536, 15.0820)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DD42 #4A42DD
analogous
#DD9842 #D5DD42 #88DD42
triadic
#D5DD42 #42D5DD #DD42D5
tetradic
#D5DD42 #42DD98 #4A42DD #DD4288
square
#D5DD42 #42DD98 #4A42DD #DD4288
split-complementary
#D5DD42 #4288DD #9842DD
monochromatic
#868C19 #B7BF22 #D5DD42 #E1E676 #ECF0AA

Accessibility & contrast

On white

1.47
#D5DD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#D5DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DD42
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DD42#FFFFFF#000000##000000
##D5DD421.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5dd42;
/* rgb */ color: rgb(213, 221, 66);
/* oklch */ color: oklch(86.5% 0.170 112.4);
Tailwind
colors: {
  custom: {
    50: '#e6e780',
    500: '#d5dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d5dd42;
$custom-light: #e6e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dd42",
  "rgb": {
    "r": 213,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 63.097,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86454,
    "c": 0.17028,
    "h": 112.4
  },
  "luminance": 0.66252
}

Semantic roles & 50–950 ramp

primary
#D5DD42
secondary
#373291
accent
#3BEC45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D5DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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