#DCC552#DCC552

#DCC552 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.136 H 98.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#DCC552
RGBrgb(220, 197, 82)
HSLhsl(50, 66%, 59%)
HSVhsv(50, 63%, 86%)
CMYKcmyk(0%, 10.5%, 62.7%, 13.7%)
CIE-LABlab(79.48, -5.22, 58.95)
CIE-LCHlch(79.48, 59.18, 95.06°)
OKLaboklab(82.13% -0.0189 0.1346)
OKLCHoklch(82.13% 0.136 98)
XYZxyz(51.0066, 55.7597, 16.0570)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC552 #5269DC
analogous
#DC8052 #DCC552 #AEDC52
triadic
#DCC552 #52DCC5 #C552DC
tetradic
#DCC552 #52DC80 #5269DC #DC52AE
square
#DCC552 #52DC80 #5269DC #DC52AE
split-complementary
#DCC552 #52AEDC #8052DC
monochromatic
#95821E #C8AE29 #DCC552 #E6D685 #F1E7B8

Accessibility & contrast

On white

1.73
#DCC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#DCC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC552
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC552#FFFFFF#000000##000000
##DCC5521.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#ECB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc552;
/* rgb */ color: rgb(220, 197, 82);
/* oklch */ color: oklch(82.1% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#ead687',
    500: '#dcc552',
    950: '#000000',
  },
}
SCSS
$custom: #dcc552;
$custom-light: #ead687;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc552",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 50,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82132,
    "c": 0.13588,
    "h": 98
  },
  "luminance": 0.55757
}

Semantic roles & 50–950 ramp

primary
#DCC552
secondary
#38499A
accent
#5BE93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC552

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

Preview Lab → · Contrast checker → · Palette generator →

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