#D8DC74#D8DC74

#D8DC74 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.0% C 0.128 H 110.7°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#D8DC74
RGBrgb(216, 220, 116)
HSLhsl(62, 60%, 66%)
HSVhsv(62, 47%, 86%)
CMYKcmyk(1.8%, 0%, 47.3%, 13.7%)
CIE-LABlab(85.53, -15.81, 50.25)
CIE-LCHlch(85.53, 52.68, 107.47°)
OKLaboklab(86.97% -0.0453 0.1196)
OKLCHoklch(86.97% 0.128 110.7)
XYZxyz(57.0656, 67.0474, 26.4549)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC74 #7874DC
analogous
#DCAC74 #D8DC74 #A4DC74
triadic
#D8DC74 #74D8DC #DC74D8
tetradic
#D8DC74 #74DCAC #7874DC #DC74A4
square
#D8DC74 #74DCAC #7874DC #DC74A4
split-complementary
#D8DC74 #74A4DC #AC74DC
monochromatic
#A6AB2B #CAD043 #D8DC74 #E6E8A5 #F3F5D6

Accessibility & contrast

On white

1.46
#D8DC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#D8DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC74
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC74#FFFFFF#000000##000000
##D8DC741.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46B
Deuteranopia (green-blind)
#EBD779
Tritanopia (blue-blind)
#E4D1C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dc74;
/* rgb */ color: rgb(216, 220, 116);
/* oklch */ color: oklch(87.0% 0.128 110.7);
Tailwind
colors: {
  custom: {
    50: '#e6e69e',
    500: '#d8dc74',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc74;
$custom-light: #e6e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc74",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 62.308,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86973,
    "c": 0.12784,
    "h": 110.7
  },
  "luminance": 0.67046
}

Semantic roles & 50–950 ramp

primary
#D8DC74
secondary
#4B47AD
accent
#1EC725
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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