#DCD752#DCD752

#DCD752 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.9% C 0.152 H 107.1°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#DCD752
RGBrgb(220, 215, 82)
HSLhsl(58, 66%, 59%)
HSVhsv(58, 63%, 86%)
CMYKcmyk(0%, 2.3%, 62.7%, 13.7%)
CIE-LABlab(84.19, -14.33, 63.99)
CIE-LCHlch(84.19, 65.58, 102.62°)
OKLaboklab(85.88% -0.0448 0.1452)
OKLCHoklch(85.88% 0.152 107.1)
XYZxyz(55.3405, 64.4275, 17.5016)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD752 #5257DC
analogous
#DC9252 #DCD752 #9CDC52
triadic
#DCD752 #52DCD7 #D752DC
tetradic
#DCD752 #52DC92 #5257DC #DC529C
square
#DCD752 #52DC92 #5257DC #DC529C
split-complementary
#DCD752 #529CDC #9252DC
monochromatic
#95911E #C8C229 #DCD752 #E6E385 #F1EFB8

Accessibility & contrast

On white

1.51
#DCD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#DCD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD752
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD752#FFFFFF#000000##000000
##DCD7521.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#EBD45A
Tritanopia (blue-blind)
#EBCABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd752;
/* rgb */ color: rgb(220, 215, 82);
/* oklch */ color: oklch(85.9% 0.152 107.1);
Tailwind
colors: {
  custom: {
    50: '#eae389',
    500: '#dcd752',
    950: '#000000',
  },
}
SCSS
$custom: #dcd752;
$custom-light: #eae389;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd752",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 57.826,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85875,
    "c": 0.15199,
    "h": 107.1
  },
  "luminance": 0.64426
}

Semantic roles & 50–950 ramp

primary
#DCD752
secondary
#383C9A
accent
#45E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD752

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

Preview Lab → · Contrast checker → · Palette generator →

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