#DCCC56#DCCC56

#DCCC56 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.139 H 101.6°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#DCCC56
RGBrgb(220, 204, 86)
HSLhsl(53, 66%, 60%)
HSVhsv(53, 61%, 86%)
CMYKcmyk(0%, 7.3%, 60.9%, 13.7%)
CIE-LABlab(81.33, -8.54, 59.23)
CIE-LCHlch(81.33, 59.85, 98.20°)
OKLaboklab(83.62% -0.0279 0.1357)
OKLCHoklch(83.62% 0.139 101.6)
XYZxyz(52.7898, 59.0754, 17.4243)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC56 #5666DC
analogous
#DC8956 #DCCC56 #A9DC56
triadic
#DCCC56 #56DCCC #CC56DC
tetradic
#DCCC56 #56DC89 #5666DC #DC56A9
square
#DCCC56 #56DC89 #5666DC #DC56A9
split-complementary
#DCCC56 #56A9DC #8956DC
monochromatic
#988A20 #CBB82A #DCCC56 #E6DB89 #F1EBBB

Accessibility & contrast

On white

1.64
#DCCC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#DCCC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC56
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC56#FFFFFF#000000##000000
##DCCC561.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#ECBFB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc56;
/* rgb */ color: rgb(220, 204, 86);
/* oklch */ color: oklch(83.6% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#eadb8a',
    500: '#dccc56',
    950: '#000000',
  },
}
SCSS
$custom: #dccc56;
$custom-light: #eadb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc56",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 52.836,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.83615,
    "c": 0.13855,
    "h": 101.6
  },
  "luminance": 0.59073
}

Semantic roles & 50–950 ramp

primary
#DCCC56
secondary
#3A469C
accent
#53E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCC56

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

Preview Lab → · Contrast checker → · Palette generator →

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