#DCDC78#DCDC78

#DCDC78 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.4% C 0.123 H 108.7°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#DCDC78
RGBrgb(220, 220, 120)
HSLhsl(60, 59%, 67%)
HSVhsv(60, 45%, 86%)
CMYKcmyk(0%, 0%, 45.5%, 13.7%)
CIE-LABlab(85.89, -13.85, 48.84)
CIE-LCHlch(85.89, 50.77, 105.83°)
OKLaboklab(87.35% -0.0395 0.1167)
OKLCHoklch(87.35% 0.123 108.7)
XYZxyz(58.4997, 67.7594, 27.7629)
Luminance0.6776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC78 #7878DC
analogous
#DCAA78 #DCDC78 #AADC78
triadic
#DCDC78 #78DCDC #DC78DC
tetradic
#DCDC78 #78DCAA #7878DC #DC78AA
square
#DCDC78 #78DCAA #7878DC #DC78AA
split-complementary
#DCDC78 #78AADC #AA78DC
monochromatic
#ADAD2D #CFCF47 #DCDC78 #E9E9A9 #F5F5D9

Accessibility & contrast

On white

1.44
#DCDC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#DCDC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC78
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC78#FFFFFF#000000##000000
##DCDC781.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD56F
Deuteranopia (green-blind)
#ECD97D
Tritanopia (blue-blind)
#E8D1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc78;
/* rgb */ color: rgb(220, 220, 120);
/* oklch */ color: oklch(87.4% 0.123 108.7);
Tailwind
colors: {
  custom: {
    50: '#e9e6a1',
    500: '#dcdc78',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc78;
$custom-light: #e9e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc78",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8735,
    "c": 0.12322,
    "h": 108.7
  },
  "luminance": 0.67758
}

Semantic roles & 50–950 ramp

primary
#DCDC78
secondary
#4949AF
accent
#1FC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDC78

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

Preview Lab → · Contrast checker → · Palette generator →

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