#DCD452#DCD452

#DCD452 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.149 H 105.8°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#DCD452
RGBrgb(220, 212, 82)
HSLhsl(57, 66%, 59%)
HSVhsv(57, 63%, 86%)
CMYKcmyk(0%, 3.6%, 62.7%, 13.7%)
CIE-LABlab(83.40, -12.83, 63.16)
CIE-LCHlch(83.40, 64.45, 101.49°)
OKLaboklab(85.25% -0.0406 0.1435)
OKLCHoklch(85.25% 0.149 105.8)
XYZxyz(54.5836, 62.9137, 17.2493)
Luminance0.6291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD452 #525ADC
analogous
#DC8F52 #DCD452 #9FDC52
triadic
#DCD452 #52DCD4 #D452DC
tetradic
#DCD452 #52DC8F #525ADC #DC529F
square
#DCD452 #52DC8F #525ADC #DC529F
split-complementary
#DCD452 #529FDC #8F52DC
monochromatic
#958E1E #C8BF29 #DCD452 #E6E185 #F1EDB8

Accessibility & contrast

On white

1.55
#DCD452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#DCD452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD452
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD452#FFFFFF#000000##000000
##DCD4521.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#EBC7B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd452;
/* rgb */ color: rgb(220, 212, 82);
/* oklch */ color: oklch(85.2% 0.149 105.8);
Tailwind
colors: {
  custom: {
    50: '#eae088',
    500: '#dcd452',
    950: '#000000',
  },
}
SCSS
$custom: #dcd452;
$custom-light: #eae088;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd452",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 56.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85245,
    "c": 0.14909,
    "h": 105.8
  },
  "luminance": 0.62912
}

Semantic roles & 50–950 ramp

primary
#DCD452
secondary
#383E9A
accent
#48E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD452

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

Preview Lab → · Contrast checker → · Palette generator →

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