#DCDC79#DCDC79

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

Color values

HEX#DCDC79
RGBrgb(220, 220, 121)
HSLhsl(60, 59%, 67%)
HSVhsv(60, 45%, 86%)
CMYKcmyk(0%, 0%, 45%, 13.7%)
CIE-LABlab(85.90, -13.76, 48.38)
CIE-LCHlch(85.90, 50.29, 105.87°)
OKLaboklab(87.36% -0.0391 0.1158)
OKLCHoklch(87.36% 0.122 108.7)
XYZxyz(58.5607, 67.7838, 28.0842)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC79 #7979DC
analogous
#DCAB79 #DCDC79 #ABDC79
triadic
#DCDC79 #79DCDC #DC79DC
tetradic
#DCDC79 #79DCAB #7979DC #DC79AB
square
#DCDC79 #79DCAB #7979DC #DC79AB
split-complementary
#DCDC79 #79ABDC #AB79DC
monochromatic
#ADAD2D #CFCF48 #DCDC79 #E9E9AA #F5F5DA

Accessibility & contrast

On white

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

On black

14.56
#DCDC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC79
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC79#FFFFFF#000000##000000
##DCDC791.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc79;
/* rgb */ color: rgb(220, 220, 121);
/* oklch */ color: oklch(87.4% 0.122 108.7);
Tailwind
colors: {
  custom: {
    50: '#e8e6a2',
    500: '#dcdc79',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc79;
$custom-light: #e8e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc79",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87364,
    "c": 0.12219,
    "h": 108.7
  },
  "luminance": 0.67783
}

Semantic roles & 50–950 ramp

primary
#DCDC79
secondary
#4A4AB0
accent
#1FC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDC79

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

Preview Lab → · Contrast checker → · Palette generator →

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