#DCD052#DCD052

#DCD052 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.4% C 0.145 H 103.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#DCD052
RGBrgb(220, 208, 82)
HSLhsl(55, 66%, 59%)
HSVhsv(55, 63%, 86%)
CMYKcmyk(0%, 5.5%, 62.7%, 13.7%)
CIE-LABlab(82.35, -10.82, 62.04)
CIE-LCHlch(82.35, 62.97, 99.90°)
OKLaboklab(84.41% -0.0349 0.1411)
OKLCHoklch(84.41% 0.145 103.9)
XYZxyz(53.5961, 60.9386, 16.9201)
Luminance0.6094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD052 #525EDC
analogous
#DC8B52 #DCD052 #A3DC52
triadic
#DCD052 #52DCD0 #D052DC
tetradic
#DCD052 #52DC8B #525EDC #DC52A3
square
#DCD052 #52DC8B #525EDC #DC52A3
split-complementary
#DCD052 #52A3DC #8B52DC
monochromatic
#958B1E #C8BA29 #DCD052 #E6DE85 #F1ECB8

Accessibility & contrast

On white

1.59
#DCD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#DCD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD052
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD052#FFFFFF#000000##000000
##DCD0521.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E5D059
Tritanopia (blue-blind)
#ECC3B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd052;
/* rgb */ color: rgb(220, 208, 82);
/* oklch */ color: oklch(84.4% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#eade88',
    500: '#dcd052',
    950: '#000000',
  },
}
SCSS
$custom: #dcd052;
$custom-light: #eade88;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd052",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 54.783,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84409,
    "c": 0.14534,
    "h": 103.9
  },
  "luminance": 0.60937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD052

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

Preview Lab → · Contrast checker → · Palette generator →

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