#DCD352#DCD352

#DCD352 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.148 H 105.3°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#DCD352
RGBrgb(220, 211, 82)
HSLhsl(56, 66%, 59%)
HSVhsv(56, 63%, 86%)
CMYKcmyk(0%, 4.1%, 62.7%, 13.7%)
CIE-LABlab(83.13, -12.33, 62.88)
CIE-LCHlch(83.13, 64.07, 101.10°)
OKLaboklab(85.04% -0.0391 0.1429)
OKLCHoklch(85.04% 0.148 105.3)
XYZxyz(54.3344, 62.4153, 17.1663)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD352 #525BDC
analogous
#DC8E52 #DCD352 #A0DC52
triadic
#DCD352 #52DCD3 #D352DC
tetradic
#DCD352 #52DC8E #525BDC #DC52A0
square
#DCD352 #52DC8E #525BDC #DC52A0
split-complementary
#DCD352 #52A0DC #8E52DC
monochromatic
#958E1E #C8BE29 #DCD352 #E6E085 #F1EDB8

Accessibility & contrast

On white

1.56
#DCD352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#DCD352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD352
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD352#FFFFFF#000000##000000
##DCD3521.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#EBC6B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd352;
/* rgb */ color: rgb(220, 211, 82);
/* oklch */ color: oklch(85.0% 0.148 105.3);
Tailwind
colors: {
  custom: {
    50: '#eae088',
    500: '#dcd352',
    950: '#000000',
  },
}
SCSS
$custom: #dcd352;
$custom-light: #eae088;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd352",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 56.087,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85036,
    "c": 0.14814,
    "h": 105.3
  },
  "luminance": 0.62413
}

Semantic roles & 50–950 ramp

primary
#DCD352
secondary
#383F9A
accent
#4AE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD352

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

Preview Lab → · Contrast checker → · Palette generator →

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