#D8DC41#D8DC41

#D8DC41 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.5% C 0.169 H 110.9°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#D8DC41
RGBrgb(216, 220, 65)
HSLhsl(62, 69%, 56%)
HSVhsv(62, 70%, 86%)
CMYKcmyk(1.8%, 0%, 70.5%, 13.7%)
CIE-LABlab(85.08, -19.38, 71.26)
CIE-LCHlch(85.08, 73.85, 105.21°)
OKLaboklab(86.47% -0.0605 0.158)
OKLCHoklch(86.47% 0.169 110.9)
XYZxyz(54.8681, 66.1684, 14.8815)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC41 #4541DC
analogous
#DC9241 #D8DC41 #8BDC41
triadic
#D8DC41 #41D8DC #DC41D8
tetradic
#D8DC41 #41DC92 #4541DC #DC418B
square
#D8DC41 #41DC92 #4541DC #DC418B
split-complementary
#D8DC41 #418BDC #9241DC
monochromatic
#868919 #B9BD23 #D8DC41 #E3E675 #EDEFA8

Accessibility & contrast

On white

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

On black

14.23
#D8DC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC41
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC41#FFFFFF#000000##000000
##D8DC411.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD225
Deuteranopia (green-blind)
#EED74D
Tritanopia (blue-blind)
#E7CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8dc41;
/* rgb */ color: rgb(216, 220, 65);
/* oklch */ color: oklch(86.5% 0.169 110.9);
Tailwind
colors: {
  custom: {
    50: '#e8e680',
    500: '#d8dc41',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc41;
$custom-light: #e8e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc41",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 65
  },
  "hsl": {
    "h": 61.548,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86474,
    "c": 0.16916,
    "h": 110.9
  },
  "luminance": 0.66167
}

Semantic roles & 50–950 ramp

primary
#D8DC41
secondary
#34328F
accent
#3CEC41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8DC41

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

Preview Lab → · Contrast checker → · Palette generator →

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