#D8DC49#D8DC49

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

Color values

HEX#D8DC49
RGBrgb(216, 220, 73)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 67%, 86%)
CMYKcmyk(1.8%, 0%, 66.8%, 13.7%)
CIE-LABlab(85.13, -18.97, 68.41)
CIE-LCHlch(85.13, 70.99, 105.50°)
OKLaboklab(86.53% -0.0586 0.1533)
OKLCHoklch(86.53% 0.164 110.9)
XYZxyz(55.1164, 66.2678, 16.1896)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC49 #4D49DC
analogous
#DC9749 #D8DC49 #8EDC49
triadic
#D8DC49 #49D8DC #DC49D8
tetradic
#D8DC49 #49DC97 #4D49DC #DC498E
square
#D8DC49 #49DC97 #4D49DC #DC498E
split-complementary
#D8DC49 #498EDC #9749DC
monochromatic
#8C8F1C #BEC225 #D8DC49 #E3E67C #EEF0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DC49#FFFFFF#000000##000000
##D8DC491.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)
#EDD333
Deuteranopia (green-blind)
#EED753
Tritanopia (blue-blind)
#E7CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc49;
/* rgb */ color: rgb(216, 220, 73);
/* oklch */ color: oklch(86.5% 0.164 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e684',
    500: '#d8dc49',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc49;
$custom-light: #e7e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc49",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 73
  },
  "hsl": {
    "h": 61.633,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86531,
    "c": 0.1641,
    "h": 110.9
  },
  "luminance": 0.66266
}

Semantic roles & 50–950 ramp

primary
#D8DC49
secondary
#373594
accent
#3DEB42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8DC49

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

Preview Lab → · Contrast checker → · Palette generator →

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