#DCC456#DCC456

#DCC456 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.132 H 97.0°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#DCC456
RGBrgb(220, 196, 86)
HSLhsl(49, 66%, 60%)
HSVhsv(49, 61%, 86%)
CMYKcmyk(0%, 10.9%, 60.9%, 13.7%)
CIE-LABlab(79.25, -4.44, 56.95)
CIE-LCHlch(79.25, 57.12, 94.46°)
OKLaboklab(81.97% -0.0162 0.1308)
OKLCHoklch(81.97% 0.132 97)
XYZxyz(50.9370, 55.3697, 16.8067)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC456 #566EDC
analogous
#DC8156 #DCC456 #B1DC56
triadic
#DCC456 #56DCC4 #C456DC
tetradic
#DCC456 #56DC81 #566EDC #DC56B1
square
#DCC456 #56DC81 #566EDC #DC56B1
split-complementary
#DCC456 #56B1DC #8156DC
monochromatic
#988320 #CBAE2A #DCC456 #E6D689 #F1E7BB

Accessibility & contrast

On white

1.74
#DCC456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#DCC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC456
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC456#FFFFFF#000000##000000
##DCC4561.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#ECB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc456;
/* rgb */ color: rgb(220, 196, 86);
/* oklch */ color: oklch(82.0% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#ead58a',
    500: '#dcc456',
    950: '#000000',
  },
}
SCSS
$custom: #dcc456;
$custom-light: #ead58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc456",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 49.254,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.81967,
    "c": 0.13184,
    "h": 97
  },
  "luminance": 0.55367
}

Semantic roles & 50–950 ramp

primary
#DCC456
secondary
#3A4B9C
accent
#5EE93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC456

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

Preview Lab → · Contrast checker → · Palette generator →

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