#DCD55D#DCD55D

#DCD55D is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.141 H 105.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#DCD55D
RGBrgb(220, 213, 93)
HSLhsl(57, 64%, 61%)
HSVhsv(57, 58%, 86%)
CMYKcmyk(0%, 3.2%, 57.7%, 13.7%)
CIE-LABlab(83.76, -12.60, 58.84)
CIE-LCHlch(83.76, 60.17, 102.09°)
OKLaboklab(85.56% -0.0387 0.1358)
OKLCHoklch(85.56% 0.141 105.9)
XYZxyz(55.2870, 63.5962, 19.7168)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD55D #5D64DC
analogous
#DC965D #DCD55D #A4DC5D
triadic
#DCD55D #5DDCD5 #D55DDC
tetradic
#DCD55D #5DDC96 #5D64DC #DC5DA4
square
#DCD55D #5DDC96 #5D64DC #DC5DA4
split-complementary
#DCD55D #5DA4DC #965DDC
monochromatic
#9D9622 #CFC62D #DCD55D #E7E28F #F2EFC2

Accessibility & contrast

On white

1.53
#DCD55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#DCD55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD55D
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD55D#FFFFFF#000000##000000
##DCD55D1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE50
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#EBC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd55d;
/* rgb */ color: rgb(220, 213, 93);
/* oklch */ color: oklch(85.6% 0.141 105.9);
Tailwind
colors: {
  custom: {
    50: '#eae18f',
    500: '#dcd55d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd55d;
$custom-light: #eae18f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd55d",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 93
  },
  "hsl": {
    "h": 56.693,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85561,
    "c": 0.14119,
    "h": 105.9
  },
  "luminance": 0.63594
}

Semantic roles & 50–950 ramp

primary
#DCD55D
secondary
#3D42A1
accent
#23CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD55D

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

Preview Lab → · Contrast checker → · Palette generator →

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