#DCD255#DCD255

#DCD255 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.145 H 104.7°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#DCD255
RGBrgb(220, 210, 85)
HSLhsl(56, 66%, 60%)
HSVhsv(56, 61%, 86%)
CMYKcmyk(0%, 4.5%, 61.4%, 13.7%)
CIE-LABlab(82.90, -11.64, 61.36)
CIE-LCHlch(82.90, 62.46, 100.74°)
OKLaboklab(84.85% -0.0368 0.1401)
OKLCHoklch(84.85% 0.145 104.7)
XYZxyz(54.2034, 61.9666, 17.6981)
Luminance0.6197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD255 #555FDC
analogous
#DC8F55 #DCD255 #A2DC55
triadic
#DCD255 #55DCD2 #D255DC
tetradic
#DCD255 #55DC8F #555FDC #DC55A2
square
#DCD255 #55DC8F #555FDC #DC55A2
split-complementary
#DCD255 #55A2DC #8F55DC
monochromatic
#978F1F #CABE2A #DCD255 #E6DF88 #F1EDBB

Accessibility & contrast

On white

1.57
#DCD255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#DCD255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD255
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD255#FFFFFF#000000##000000
##DCD2551.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB46
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd255;
/* rgb */ color: rgb(220, 210, 85);
/* oklch */ color: oklch(84.9% 0.145 104.7);
Tailwind
colors: {
  custom: {
    50: '#eadf8a',
    500: '#dcd255',
    950: '#000000',
  },
}
SCSS
$custom: #dcd255;
$custom-light: #eadf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd255",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 55.556,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84854,
    "c": 0.14486,
    "h": 104.7
  },
  "luminance": 0.61965
}

Semantic roles & 50–950 ramp

primary
#DCD255
secondary
#39419C
accent
#4CE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD255

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

Preview Lab → · Contrast checker → · Palette generator →

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