#DCC457#DCC457

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

Color values

HEX#DCC457
RGBrgb(220, 196, 87)
HSLhsl(49, 66%, 60%)
HSVhsv(49, 60%, 86%)
CMYKcmyk(0%, 10.9%, 60.5%, 13.7%)
CIE-LABlab(79.26, -4.38, 56.51)
CIE-LCHlch(79.26, 56.68, 94.43°)
OKLaboklab(81.98% -0.0159 0.13)
OKLCHoklch(81.98% 0.131 97)
XYZxyz(50.9775, 55.3860, 17.0204)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC457 #576FDC
analogous
#DC8157 #DCC457 #B1DC57
triadic
#DCC457 #57DCC4 #C457DC
tetradic
#DCC457 #57DC81 #576FDC #DC57B1
square
#DCC457 #57DC81 #576FDC #DC57B1
split-complementary
#DCC457 #57B1DC #8157DC
monochromatic
#998320 #CBAE2A #DCC457 #E7D68A #F1E8BC

Accessibility & contrast

On white

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

On black

12.08
#DCC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC457
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC457#FFFFFF#000000##000000
##DCC4571.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc457;
/* rgb */ color: rgb(220, 196, 87);
/* oklch */ color: oklch(82.0% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#ead58a',
    500: '#dcc457',
    950: '#000000',
  },
}
SCSS
$custom: #dcc457;
$custom-light: #ead58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc457",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 49.173,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81977,
    "c": 0.131,
    "h": 97
  },
  "luminance": 0.55384
}

Semantic roles & 50–950 ramp

primary
#DCC457
secondary
#3A4C9D
accent
#39CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC457

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

Preview Lab → · Contrast checker → · Palette generator →

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