#DCD04C#DCD04C

#DCD04C is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.4% C 0.150 H 104.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#DCD04C
RGBrgb(220, 208, 76)
HSLhsl(55, 67%, 58%)
HSVhsv(55, 65%, 86%)
CMYKcmyk(0%, 5.5%, 65.5%, 13.7%)
CIE-LABlab(82.30, -11.18, 64.45)
CIE-LCHlch(82.30, 65.41, 99.84°)
OKLaboklab(84.36% -0.0365 0.1453)
OKLCHoklch(84.36% 0.15 104.1)
XYZxyz(53.3777, 60.8512, 15.7699)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD04C #4C58DC
analogous
#DC884C #DCD04C #A0DC4C
triadic
#DCD04C #4CDCD0 #D04CDC
tetradic
#DCD04C #4CDC88 #4C58DC #DC4CA0
square
#DCD04C #4CDC88 #4C58DC #DC4CA0
split-complementary
#DCD04C #4CA0DC #884CDC
monochromatic
#91871C #C4B726 #DCD04C #E6DD7F #F0EBB2

Accessibility & contrast

On white

1.59
#DCD04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#DCD04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD04C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD04C#FFFFFF#000000##000000
##DCD04C1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93A
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#ECC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd04c;
/* rgb */ color: rgb(220, 208, 76);
/* oklch */ color: oklch(84.4% 0.150 104.1);
Tailwind
colors: {
  custom: {
    50: '#eade85',
    500: '#dcd04c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd04c;
$custom-light: #eade85;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd04c",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 55,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84356,
    "c": 0.14982,
    "h": 104.1
  },
  "luminance": 0.60849
}

Semantic roles & 50–950 ramp

primary
#DCD04C
secondary
#363E96
accent
#4CEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD04C

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

Preview Lab → · Contrast checker → · Palette generator →

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