#DCD04B#DCD04B

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

Color values

HEX#DCD04B
RGBrgb(220, 208, 75)
HSLhsl(55, 67%, 58%)
HSVhsv(55, 66%, 86%)
CMYKcmyk(0%, 5.5%, 65.9%, 13.7%)
CIE-LABlab(82.29, -11.24, 64.84)
CIE-LCHlch(82.29, 65.81, 99.83°)
OKLaboklab(84.35% -0.0368 0.146)
OKLCHoklch(84.35% 0.151 104.1)
XYZxyz(53.3432, 60.8374, 15.5882)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD04B #4B57DC
analogous
#DC874B #DCD04B #A0DC4B
triadic
#DCD04B #4BDCD0 #D04BDC
tetradic
#DCD04B #4BDC87 #4B57DC #DC4BA0
square
#DCD04B #4BDC87 #4B57DC #DC4BA0
split-complementary
#DCD04B #4BA0DC #874BDC
monochromatic
#91871C #C4B726 #DCD04B #E6DD7E #F0EBB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD04B#FFFFFF#000000##000000
##DCD04B1.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)
#E2C939
Deuteranopia (green-blind)
#E6D053
Tritanopia (blue-blind)
#ECC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd04b;
/* rgb */ color: rgb(220, 208, 75);
/* oklch */ color: oklch(84.3% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#eade84',
    500: '#dcd04b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd04b;
$custom-light: #eade84;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd04b",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 55.034,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84348,
    "c": 0.15053,
    "h": 104.1
  },
  "luminance": 0.60835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD04B

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

Preview Lab → · Contrast checker → · Palette generator →

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