#D8DC46#D8DC46

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

Color values

HEX#D8DC46
RGBrgb(216, 220, 70)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 68%, 86%)
CMYKcmyk(1.8%, 0%, 68.2%, 13.7%)
CIE-LABlab(85.11, -19.13, 69.50)
CIE-LCHlch(85.11, 72.09, 105.39°)
OKLaboklab(86.51% -0.0593 0.1551)
OKLCHoklch(86.51% 0.166 110.9)
XYZxyz(55.0194, 66.2290, 15.6784)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC46 #4A46DC
analogous
#DC9546 #D8DC46 #8DDC46
triadic
#D8DC46 #46D8DC #DC46D8
tetradic
#D8DC46 #46DC95 #4A46DC #DC468D
square
#D8DC46 #46DC95 #4A46DC #DC468D
split-complementary
#D8DC46 #468DDC #9546DC
monochromatic
#8A8D1B #BCC024 #D8DC46 #E3E679 #EEEFAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DC46#FFFFFF#000000##000000
##D8DC461.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)
#EDD22E
Deuteranopia (green-blind)
#EED751
Tritanopia (blue-blind)
#E7CFBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc46;
/* rgb */ color: rgb(216, 220, 70);
/* oklch */ color: oklch(86.5% 0.166 110.9);
Tailwind
colors: {
  custom: {
    50: '#e8e682',
    500: '#d8dc46',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc46;
$custom-light: #e8e682;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc46",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 61.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.86509,
    "c": 0.16606,
    "h": 110.9
  },
  "luminance": 0.66228
}

Semantic roles & 50–950 ramp

primary
#D8DC46
secondary
#363492
accent
#3DEB41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8DC46

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

Preview Lab → · Contrast checker → · Palette generator →

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