#D9DC78#D9DC78

#D9DC78 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.1% C 0.124 H 110.2°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#D9DC78
RGBrgb(217, 220, 120)
HSLhsl(62, 59%, 67%)
HSVhsv(62, 45%, 86%)
CMYKcmyk(1.4%, 0%, 45.5%, 13.7%)
CIE-LABlab(85.65, -15.04, 48.50)
CIE-LCHlch(85.65, 50.78, 107.23°)
OKLaboklab(87.11% -0.0427 0.116)
OKLCHoklch(87.11% 0.124 110.2)
XYZxyz(57.5997, 67.2953, 27.7207)
Luminance0.6729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC78 #7B78DC
analogous
#DCAD78 #D9DC78 #A7DC78
triadic
#D9DC78 #78D9DC #DC78D9
tetradic
#D9DC78 #78DCAD #7B78DC #DC78A7
square
#D9DC78 #78DCAD #7B78DC #DC78A7
split-complementary
#D9DC78 #78A7DC #AD78DC
monochromatic
#A9AD2D #CBCF47 #D9DC78 #E7E9A9 #F4F5D9

Accessibility & contrast

On white

1.45
#D9DC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#D9DC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC78
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC78#FFFFFF#000000##000000
##D9DC781.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46F
Deuteranopia (green-blind)
#EBD87D
Tritanopia (blue-blind)
#E5D1C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d9dc78;
/* rgb */ color: rgb(217, 220, 120);
/* oklch */ color: oklch(87.1% 0.124 110.2);
Tailwind
colors: {
  custom: {
    50: '#e6e6a1',
    500: '#d9dc78',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc78;
$custom-light: #e6e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc78",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 61.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87107,
    "c": 0.12362,
    "h": 110.2
  },
  "luminance": 0.67294
}

Semantic roles & 50–950 ramp

primary
#D9DC78
secondary
#4C49AF
accent
#1FC624
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D9DC78

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

Preview Lab → · Contrast checker → · Palette generator →

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