#DCC050#DCC050

#DCC050 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.134 H 95.2°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#DCC050
RGBrgb(220, 192, 80)
HSLhsl(48, 67%, 59%)
HSVhsv(48, 64%, 86%)
CMYKcmyk(0%, 12.7%, 63.6%, 13.7%)
CIE-LABlab(78.17, -2.76, 58.40)
CIE-LCHlch(78.17, 58.47, 92.71°)
OKLaboklab(81.09% -0.012 0.1331)
OKLCHoklch(81.09% 0.134 95.2)
XYZxyz(49.8151, 53.4966, 15.2898)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC050 #506CDC
analogous
#DC7A50 #DCC050 #B2DC50
triadic
#DCC050 #50DCC0 #C050DC
tetradic
#DCC050 #50DC7A #506CDC #DC50B2
square
#DCC050 #50DC7A #506CDC #DC50B2
split-complementary
#DCC050 #50B2DC #7A50DC
monochromatic
#947C1E #C7A728 #DCC050 #E6D283 #F0E5B6

Accessibility & contrast

On white

1.80
#DCC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#DCC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC050
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC050#FFFFFF#000000##000000
##DCC0501.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#EDB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc050;
/* rgb */ color: rgb(220, 192, 80);
/* oklch */ color: oklch(81.1% 0.134 95.2);
Tailwind
colors: {
  custom: {
    50: '#ead286',
    500: '#dcc050',
    950: '#000000',
  },
}
SCSS
$custom: #dcc050;
$custom-light: #ead286;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc050",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 48,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8109,
    "c": 0.13365,
    "h": 95.2
  },
  "luminance": 0.53494
}

Semantic roles & 50–950 ramp

primary
#DCC050
secondary
#384B99
accent
#60EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC050

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

Preview Lab → · Contrast checker → · Palette generator →

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