#D3DD42#D3DD42

#D3DD42 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.3% C 0.171 H 113.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#D3DD42
RGBrgb(211, 221, 66)
HSLhsl(64, 70%, 56%)
HSVhsv(64, 70%, 87%)
CMYKcmyk(4.5%, 0%, 70.1%, 13.3%)
CIE-LABlab(84.97, -21.87, 70.67)
CIE-LCHlch(84.97, 73.98, 107.20°)
OKLaboklab(86.3% -0.0671 0.1571)
OKLCHoklch(86.3% 0.171 113.1)
XYZxyz(53.7054, 65.9563, 15.0549)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DD42 #4C42DD
analogous
#DD9A42 #D3DD42 #86DD42
triadic
#D3DD42 #42D3DD #DD42D3
tetradic
#D3DD42 #42DD9A #4C42DD #DD4286
square
#D3DD42 #42DD9A #4C42DD #DD4286
split-complementary
#D3DD42 #4286DD #9A42DD
monochromatic
#848C19 #B5BF22 #D3DD42 #DFE676 #EBF0AA

Accessibility & contrast

On white

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

On black

14.19
#D3DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DD42
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DD42#FFFFFF#000000##000000
##D3DD421.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3dd42;
/* rgb */ color: rgb(211, 221, 66);
/* oklch */ color: oklch(86.3% 0.171 113.1);
Tailwind
colors: {
  custom: {
    50: '#e4e780',
    500: '#d3dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d3dd42;
$custom-light: #e4e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d3dd42",
  "rgb": {
    "r": 211,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 63.871,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86296,
    "c": 0.17079,
    "h": 113.1
  },
  "luminance": 0.65955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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