#D8DC4A#D8DC4A

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

Color values

HEX#D8DC4A
RGBrgb(216, 220, 74)
HSLhsl(62, 68%, 58%)
HSVhsv(62, 66%, 86%)
CMYKcmyk(1.8%, 0%, 66.4%, 13.7%)
CIE-LABlab(85.14, -18.91, 68.04)
CIE-LCHlch(85.14, 70.62, 105.53°)
OKLaboklab(86.54% -0.0583 0.1527)
OKLCHoklch(86.54% 0.163 110.9)
XYZxyz(55.1499, 66.2812, 16.3656)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC4A #4E4ADC
analogous
#DC974A #D8DC4A #8FDC4A
triadic
#D8DC4A #4AD8DC #DC4AD8
tetradic
#D8DC4A #4ADC97 #4E4ADC #DC4A8F
square
#D8DC4A #4ADC97 #4E4ADC #DC4A8F
split-complementary
#D8DC4A #4A8FDC #974ADC
monochromatic
#8D901C #BFC326 #D8DC4A #E3E67D #EEF0B1

Accessibility & contrast

On white

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

On black

14.26
#D8DC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC4A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC4A#FFFFFF#000000##000000
##D8DC4A1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD334
Deuteranopia (green-blind)
#EED754
Tritanopia (blue-blind)
#E6CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc4a;
/* rgb */ color: rgb(216, 220, 74);
/* oklch */ color: oklch(86.5% 0.163 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e684',
    500: '#d8dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc4a;
$custom-light: #e7e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc4a",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 61.644,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86539,
    "c": 0.16342,
    "h": 110.9
  },
  "luminance": 0.6628
}

Semantic roles & 50–950 ramp

primary
#D8DC4A
secondary
#383595
accent
#3DEA42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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