#DCC952#DCC952

#DCC952 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.139 H 100.2°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DCC952
RGBrgb(220, 201, 82)
HSLhsl(52, 66%, 59%)
HSVhsv(52, 63%, 86%)
CMYKcmyk(0%, 8.6%, 62.7%, 13.7%)
CIE-LABlab(80.52, -7.27, 60.07)
CIE-LCHlch(80.52, 60.51, 96.90°)
OKLaboklab(82.96% -0.0247 0.1369)
OKLCHoklch(82.96% 0.139 100.2)
XYZxyz(51.9269, 57.6003, 16.3638)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC952 #5265DC
analogous
#DC8452 #DCC952 #AADC52
triadic
#DCC952 #52DCC9 #C952DC
tetradic
#DCC952 #52DC84 #5265DC #DC52AA
square
#DCC952 #52DC84 #5265DC #DC52AA
split-complementary
#DCC952 #52AADC #8452DC
monochromatic
#95851E #C8B229 #DCC952 #E6D985 #F1E9B8

Accessibility & contrast

On white

1.68
#DCC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DCC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC952
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC952#FFFFFF#000000##000000
##DCC9521.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc952;
/* rgb */ color: rgb(220, 201, 82);
/* oklch */ color: oklch(83.0% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#ead988',
    500: '#dcc952',
    950: '#000000',
  },
}
SCSS
$custom: #dcc952;
$custom-light: #ead988;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc952",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 51.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82956,
    "c": 0.13916,
    "h": 100.2
  },
  "luminance": 0.57598
}

Semantic roles & 50–950 ramp

primary
#DCC952
secondary
#38469A
accent
#56E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC952

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

Preview Lab → · Contrast checker → · Palette generator →

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