#DCCD52#DCCD52

#DCCD52 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.143 H 102.4°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#DCCD52
RGBrgb(220, 205, 82)
HSLhsl(53, 66%, 59%)
HSVhsv(53, 63%, 86%)
CMYKcmyk(0%, 6.8%, 62.7%, 13.7%)
CIE-LABlab(81.56, -9.31, 61.20)
CIE-LCHlch(81.56, 61.90, 98.65°)
OKLaboklab(83.78% -0.0305 0.1393)
OKLCHoklch(83.78% 0.143 102.4)
XYZxyz(52.8716, 59.4896, 16.6786)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD52 #5261DC
analogous
#DC8852 #DCCD52 #A6DC52
triadic
#DCCD52 #52DCCD #CD52DC
tetradic
#DCCD52 #52DC88 #5261DC #DC52A6
square
#DCCD52 #52DC88 #5261DC #DC52A6
split-complementary
#DCCD52 #52A6DC #8852DC
monochromatic
#95881E #C8B729 #DCCD52 #E6DC85 #F1EAB8

Accessibility & contrast

On white

1.63
#DCCD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#DCCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD52
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD52#FFFFFF#000000##000000
##DCCD521.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E3CE59
Tritanopia (blue-blind)
#ECC0B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccd52;
/* rgb */ color: rgb(220, 205, 82);
/* oklch */ color: oklch(83.8% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#eadc88',
    500: '#dccd52',
    950: '#000000',
  },
}
SCSS
$custom: #dccd52;
$custom-light: #eadc88;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd52",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 53.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83784,
    "c": 0.14263,
    "h": 102.4
  },
  "luminance": 0.59487
}

Semantic roles & 50–950 ramp

primary
#DCCD52
secondary
#38439A
accent
#51E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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