#DCC057#DCC057

#DCC057 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.2% C 0.128 H 94.4°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#DCC057
RGBrgb(220, 192, 87)
HSLhsl(47, 66%, 60%)
HSVhsv(47, 60%, 86%)
CMYKcmyk(0%, 12.7%, 60.5%, 13.7%)
CIE-LABlab(78.23, -2.31, 55.36)
CIE-LCHlch(78.23, 55.41, 92.39°)
OKLaboklab(81.16% -0.0099 0.1276)
OKLCHoklch(81.16% 0.128 94.4)
XYZxyz(50.0873, 53.6055, 16.7236)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC057 #5773DC
analogous
#DC7D57 #DCC057 #B6DC57
triadic
#DCC057 #57DCC0 #C057DC
tetradic
#DCC057 #57DC7D #5773DC #DC57B6
square
#DCC057 #57DC7D #5773DC #DC57B6
split-complementary
#DCC057 #57B6DC #7D57DC
monochromatic
#997F20 #CBAA2A #DCC057 #E7D38A #F1E6BC

Accessibility & contrast

On white

1.79
#DCC057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#DCC057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC057
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC057#FFFFFF#000000##000000
##DCC0571.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4C
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#ECB3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc057;
/* rgb */ color: rgb(220, 192, 87);
/* oklch */ color: oklch(81.2% 0.128 94.4);
Tailwind
colors: {
  custom: {
    50: '#ead28a',
    500: '#dcc057',
    950: '#000000',
  },
}
SCSS
$custom: #dcc057;
$custom-light: #ead28a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc057",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 47.368,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81161,
    "c": 0.12797,
    "h": 94.4
  },
  "luminance": 0.53603
}

Semantic roles & 50–950 ramp

primary
#DCC057
secondary
#3A4F9D
accent
#3ECD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC057

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

Preview Lab → · Contrast checker → · Palette generator →

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