#DCC852#DCC852

#DCC852 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.138 H 99.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#DCC852
RGBrgb(220, 200, 82)
HSLhsl(51, 66%, 59%)
HSVhsv(51, 63%, 86%)
CMYKcmyk(0%, 9.1%, 62.7%, 13.7%)
CIE-LABlab(80.26, -6.76, 59.79)
CIE-LCHlch(80.26, 60.17, 96.45°)
OKLaboklab(82.75% -0.0233 0.1364)
OKLCHoklch(82.75% 0.138 99.7)
XYZxyz(51.6946, 57.1356, 16.2863)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC852 #5266DC
analogous
#DC8352 #DCC852 #ABDC52
triadic
#DCC852 #52DCC8 #C852DC
tetradic
#DCC852 #52DC83 #5266DC #DC52AB
square
#DCC852 #52DC83 #5266DC #DC52AB
split-complementary
#DCC852 #52ABDC #8352DC
monochromatic
#95841E #C8B129 #DCC852 #E6D885 #F1E8B8

Accessibility & contrast

On white

1.69
#DCC852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#DCC852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC852
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC852#FFFFFF#000000##000000
##DCC8521.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc852;
/* rgb */ color: rgb(220, 200, 82);
/* oklch */ color: oklch(82.7% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#ead887',
    500: '#dcc852',
    950: '#000000',
  },
}
SCSS
$custom: #dcc852;
$custom-light: #ead887;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc852",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 51.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82749,
    "c": 0.13832,
    "h": 99.7
  },
  "luminance": 0.57133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC852

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

Preview Lab → · Contrast checker → · Palette generator →

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