#DCC752#DCC752

#DCC752 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.137 H 99.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#DCC752
RGBrgb(220, 199, 82)
HSLhsl(51, 66%, 59%)
HSVhsv(51, 63%, 86%)
CMYKcmyk(0%, 9.5%, 62.7%, 13.7%)
CIE-LABlab(80.00, -6.25, 59.51)
CIE-LCHlch(80.00, 59.84, 95.99°)
OKLaboklab(82.54% -0.0218 0.1358)
OKLCHoklch(82.54% 0.137 99.1)
XYZxyz(51.4638, 56.6740, 16.2094)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC752 #5267DC
analogous
#DC8252 #DCC752 #ACDC52
triadic
#DCC752 #52DCC7 #C752DC
tetradic
#DCC752 #52DC82 #5267DC #DC52AC
square
#DCC752 #52DC82 #5267DC #DC52AC
split-complementary
#DCC752 #52ACDC #8252DC
monochromatic
#95831E #C8B029 #DCC752 #E6D785 #F1E8B8

Accessibility & contrast

On white

1.70
#DCC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#DCC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC752
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC752#FFFFFF#000000##000000
##DCC7521.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#ECB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc752;
/* rgb */ color: rgb(220, 199, 82);
/* oklch */ color: oklch(82.5% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#ead787',
    500: '#dcc752',
    950: '#000000',
  },
}
SCSS
$custom: #dcc752;
$custom-light: #ead787;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc752",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 50.87,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82543,
    "c": 0.13749,
    "h": 99.1
  },
  "luminance": 0.56672
}

Semantic roles & 50–950 ramp

primary
#DCC752
secondary
#38479A
accent
#59E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC752

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

Preview Lab → · Contrast checker → · Palette generator →

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