#DCC452#DCC452

#DCC452 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.135 H 97.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#DCC452
RGBrgb(220, 196, 82)
HSLhsl(50, 66%, 59%)
HSVhsv(50, 63%, 86%)
CMYKcmyk(0%, 10.9%, 62.7%, 13.7%)
CIE-LABlab(79.22, -4.71, 58.67)
CIE-LCHlch(79.22, 58.86, 94.59°)
OKLaboklab(81.93% -0.0174 0.134)
OKLCHoklch(81.93% 0.135 97.4)
XYZxyz(50.7803, 55.3071, 15.9816)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC452 #526ADC
analogous
#DC7F52 #DCC452 #AFDC52
triadic
#DCC452 #52DCC4 #C452DC
tetradic
#DCC452 #52DC7F #526ADC #DC52AF
square
#DCC452 #52DC7F #526ADC #DC52AF
split-complementary
#DCC452 #52AFDC #7F52DC
monochromatic
#95811E #C8AC29 #DCC452 #E6D585 #F1E7B8

Accessibility & contrast

On white

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

On black

12.06
#DCC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC452
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC452#FFFFFF#000000##000000
##DCC4521.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#DCC858
Tritanopia (blue-blind)
#ECB6AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc452;
/* rgb */ color: rgb(220, 196, 82);
/* oklch */ color: oklch(81.9% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#ead587',
    500: '#dcc452',
    950: '#000000',
  },
}
SCSS
$custom: #dcc452;
$custom-light: #ead587;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc452",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 49.565,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81927,
    "c": 0.13508,
    "h": 97.4
  },
  "luminance": 0.55305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC452

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

Preview Lab → · Contrast checker → · Palette generator →

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