#D6DC42#D6DC42

#D6DC42 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.3% C 0.169 H 111.7°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#D6DC42
RGBrgb(214, 220, 66)
HSLhsl(62, 69%, 56%)
HSVhsv(62, 70%, 86%)
CMYKcmyk(2.7%, 0%, 70%, 13.7%)
CIE-LABlab(84.93, -20.15, 70.71)
CIE-LCHlch(84.93, 73.53, 105.91°)
OKLaboklab(86.32% -0.0624 0.1571)
OKLCHoklch(86.32% 0.169 111.7)
XYZxyz(54.3099, 65.8772, 15.0079)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6DC42 #4842DC
analogous
#DC9542 #D6DC42 #89DC42
triadic
#D6DC42 #42D6DC #DC42D6
tetradic
#D6DC42 #42DC95 #4842DC #DC4289
square
#D6DC42 #42DC95 #4842DC #DC4289
split-complementary
#D6DC42 #4289DC #9542DC
monochromatic
#868A1A #B8BE23 #D6DC42 #E1E676 #ECEFA9

Accessibility & contrast

On white

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

On black

14.18
#D6DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6DC42
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6DC42#FFFFFF#000000##000000
##D6DC421.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6dc42;
/* rgb */ color: rgb(214, 220, 66);
/* oklch */ color: oklch(86.3% 0.169 111.7);
Tailwind
colors: {
  custom: {
    50: '#e6e680',
    500: '#d6dc42',
    950: '#000000',
  },
}
SCSS
$custom: #d6dc42;
$custom-light: #e6e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d6dc42",
  "rgb": {
    "r": 214,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 62.338,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8632,
    "c": 0.16901,
    "h": 111.7
  },
  "luminance": 0.65876
}

Semantic roles & 50–950 ramp

primary
#D6DC42
secondary
#363290
accent
#3CEC43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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