#DCD03D#DCD03D

#DCD03D is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.160 H 104.6°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#DCD03D
RGBrgb(220, 208, 61)
HSLhsl(55, 69%, 55%)
HSVhsv(55, 72%, 86%)
CMYKcmyk(0%, 5.5%, 72.3%, 13.7%)
CIE-LABlab(82.20, -11.95, 69.98)
CIE-LCHlch(82.20, 71.00, 99.69°)
OKLaboklab(84.25% -0.0402 0.1545)
OKLCHoklch(84.25% 0.16 104.6)
XYZxyz(52.9156, 60.6664, 13.3364)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD03D #3D49DC
analogous
#DC813D #DCD03D #98DC3D
triadic
#DCD03D #3DDCD0 #D03DDC
tetradic
#DCD03D #3DDC81 #3D49DC #DC3D98
square
#DCD03D #3DDC81 #3D49DC #DC3D98
split-complementary
#DCD03D #3D98DC #813DDC
monochromatic
#867E18 #BAAF22 #DCD03D #E5DD71 #EFE9A5

Accessibility & contrast

On white

1.60
#DCD03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#DCD03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD03D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD03D#FFFFFF#000000##000000
##DCD03D1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C922
Deuteranopia (green-blind)
#E6CF47
Tritanopia (blue-blind)
#ECC2B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dcd03d;
/* rgb */ color: rgb(220, 208, 61);
/* oklch */ color: oklch(84.2% 0.160 104.6);
Tailwind
colors: {
  custom: {
    50: '#ebde7c',
    500: '#dcd03d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd03d;
$custom-light: #ebde7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd03d",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 61
  },
  "hsl": {
    "h": 55.472,
    "s": 69.432,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84245,
    "c": 0.15961,
    "h": 104.6
  },
  "luminance": 0.60664
}

Semantic roles & 50–950 ramp

primary
#DCD03D
secondary
#31388D
accent
#49EC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCD03D

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

Preview Lab → · Contrast checker → · Palette generator →

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