#DCD852#DCD852

#DCD852 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.153 H 107.6°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#DCD852
RGBrgb(220, 216, 82)
HSLhsl(58, 66%, 59%)
HSVhsv(58, 63%, 86%)
CMYKcmyk(0%, 1.8%, 62.7%, 13.7%)
CIE-LABlab(84.45, -14.83, 64.27)
CIE-LCHlch(84.45, 65.96, 102.99°)
OKLaboklab(86.09% -0.0462 0.1458)
OKLCHoklch(86.09% 0.153 107.6)
XYZxyz(55.5959, 64.9383, 17.5868)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD852 #5256DC
analogous
#DC9352 #DCD852 #9BDC52
triadic
#DCD852 #52DCD8 #D852DC
tetradic
#DCD852 #52DC93 #5256DC #DC529B
square
#DCD852 #52DC93 #5256DC #DC529B
split-complementary
#DCD852 #529BDC #9352DC
monochromatic
#95921E #C8C429 #DCD852 #E6E385 #F1EFB8

Accessibility & contrast

On white

1.50
#DCD852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#DCD852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD852
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD852#FFFFFF#000000##000000
##DCD8521.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#EBCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd852;
/* rgb */ color: rgb(220, 216, 82);
/* oklch */ color: oklch(86.1% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#eae389',
    500: '#dcd852',
    950: '#000000',
  },
}
SCSS
$custom: #dcd852;
$custom-light: #eae389;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd852",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 58.261,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86085,
    "c": 0.15298,
    "h": 107.6
  },
  "luminance": 0.64937
}

Semantic roles & 50–950 ramp

primary
#DCD852
secondary
#383B9A
accent
#43E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD852

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

Preview Lab → · Contrast checker → · Palette generator →

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