#DCC052#DCC052

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

Color values

HEX#DCC052
RGBrgb(220, 192, 82)
HSLhsl(48, 66%, 59%)
HSVhsv(48, 63%, 86%)
CMYKcmyk(0%, 12.7%, 62.7%, 13.7%)
CIE-LABlab(78.18, -2.64, 57.55)
CIE-LCHlch(78.18, 57.61, 92.62°)
OKLaboklab(81.11% -0.0114 0.1316)
OKLCHoklch(81.11% 0.132 95)
XYZxyz(49.8901, 53.5266, 15.6848)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC052 #526EDC
analogous
#DC7B52 #DCC052 #B3DC52
triadic
#DCC052 #52DCC0 #C052DC
tetradic
#DCC052 #52DC7B #526EDC #DC52B3
square
#DCC052 #52DC7B #526EDC #DC52B3
split-complementary
#DCC052 #52B3DC #7B52DC
monochromatic
#957D1E #C8A829 #DCC052 #E6D385 #F1E5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC052#FFFFFF#000000##000000
##DCC0521.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc052;
/* rgb */ color: rgb(220, 192, 82);
/* oklch */ color: oklch(81.1% 0.132 95.0);
Tailwind
colors: {
  custom: {
    50: '#ead287',
    500: '#dcc052',
    950: '#000000',
  },
}
SCSS
$custom: #dcc052;
$custom-light: #ead287;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc052",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 47.826,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81109,
    "c": 0.13207,
    "h": 95
  },
  "luminance": 0.53524
}

Semantic roles & 50–950 ramp

primary
#DCC052
secondary
#384C9A
accent
#61E93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC052

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

Preview Lab → · Contrast checker → · Palette generator →

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