#D7DD42#D7DD42

#D7DD42 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.6% C 0.170 H 111.7°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D7DD42
RGBrgb(215, 221, 66)
HSLhsl(62, 70%, 56%)
HSVhsv(62, 70%, 87%)
CMYKcmyk(2.7%, 0%, 70.1%, 13.3%)
CIE-LABlab(85.28, -20.23, 71.07)
CIE-LCHlch(85.28, 73.90, 105.89°)
OKLaboklab(86.61% -0.0627 0.1578)
OKLCHoklch(86.61% 0.17 111.7)
XYZxyz(54.8659, 66.5547, 15.1093)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD42 #4842DD
analogous
#DD9642 #D7DD42 #8ADD42
triadic
#D7DD42 #42D7DD #DD42D7
tetradic
#D7DD42 #42DD96 #4842DD #DD428A
square
#D7DD42 #42DD96 #4842DD #DD428A
split-complementary
#D7DD42 #428ADD #9642DD
monochromatic
#878C19 #B9BF22 #D7DD42 #E2E676 #EDF0AA

Accessibility & contrast

On white

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

On black

14.31
#D7DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD42
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD42#FFFFFF#000000##000000
##D7DD421.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7dd42;
/* rgb */ color: rgb(215, 221, 66);
/* oklch */ color: oklch(86.6% 0.170 111.7);
Tailwind
colors: {
  custom: {
    50: '#e7e780',
    500: '#d7dd42',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd42;
$custom-light: #e7e780;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd42",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 62.323,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86614,
    "c": 0.1698,
    "h": 111.7
  },
  "luminance": 0.66553
}

Semantic roles & 50–950 ramp

primary
#D7DD42
secondary
#363291
accent
#3BEC42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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