#DCCF52#DCCF52

#DCCF52 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.2% C 0.144 H 103.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#DCCF52
RGBrgb(220, 207, 82)
HSLhsl(54, 66%, 59%)
HSVhsv(54, 63%, 86%)
CMYKcmyk(0%, 5.9%, 62.7%, 13.7%)
CIE-LABlab(82.08, -10.32, 61.76)
CIE-LCHlch(82.08, 62.61, 99.49°)
OKLaboklab(84.2% -0.0334 0.1405)
OKLCHoklch(84.2% 0.144 103.4)
XYZxyz(53.3530, 60.4525, 16.8391)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCF52 #525FDC
analogous
#DC8A52 #DCCF52 #A4DC52
triadic
#DCCF52 #52DCCF #CF52DC
tetradic
#DCCF52 #52DC8A #525FDC #DC52A4
square
#DCCF52 #52DC8A #525FDC #DC52A4
split-complementary
#DCCF52 #52A4DC #8A52DC
monochromatic
#958A1E #C8B929 #DCCF52 #E6DD85 #F1EBB8

Accessibility & contrast

On white

1.60
#DCCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#DCCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCF52
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCF52#FFFFFF#000000##000000
##DCCF521.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C943
Deuteranopia (green-blind)
#E5CF59
Tritanopia (blue-blind)
#ECC2B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccf52;
/* rgb */ color: rgb(220, 207, 82);
/* oklch */ color: oklch(84.2% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#eadd88',
    500: '#dccf52',
    950: '#000000',
  },
}
SCSS
$custom: #dccf52;
$custom-light: #eadd88;
$custom-dark: #000000;
JSON
{
  "hex": "#dccf52",
  "rgb": {
    "r": 220,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 54.348,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.842,
    "c": 0.14443,
    "h": 103.4
  },
  "luminance": 0.6045
}

Semantic roles & 50–950 ramp

primary
#DCCF52
secondary
#38419A
accent
#4FE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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