#DCD04D#DCD04D

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

Color values

HEX#DCD04D
RGBrgb(220, 208, 77)
HSLhsl(55, 67%, 58%)
HSVhsv(55, 65%, 86%)
CMYKcmyk(0%, 5.5%, 65%, 13.7%)
CIE-LABlab(82.31, -11.12, 64.05)
CIE-LCHlch(82.31, 65.01, 99.85°)
OKLaboklab(84.37% -0.0362 0.1446)
OKLCHoklch(84.37% 0.149 104.1)
XYZxyz(53.4127, 60.8652, 15.9544)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD04D #4D59DC
analogous
#DC884D #DCD04D #A0DC4D
triadic
#DCD04D #4DDCD0 #D04DDC
tetradic
#DCD04D #4DDC88 #4D59DC #DC4DA0
square
#DCD04D #4DDC88 #4D59DC #DC4DA0
split-complementary
#DCD04D #4DA0DC #884DDC
monochromatic
#92881D #C5B827 #DCD04D #E6DE80 #F0EBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD04D#FFFFFF#000000##000000
##DCD04D1.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)
#E2C93C
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#ECC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd04d;
/* rgb */ color: rgb(220, 208, 77);
/* oklch */ color: oklch(84.4% 0.149 104.1);
Tailwind
colors: {
  custom: {
    50: '#eade85',
    500: '#dcd04d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd04d;
$custom-light: #eade85;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd04d",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 54.965,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84365,
    "c": 0.14909,
    "h": 104.1
  },
  "luminance": 0.60863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD04D

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

Preview Lab → · Contrast checker → · Palette generator →

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