#DCD152#DCD152

#DCD152 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.146 H 104.4°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#DCD152
RGBrgb(220, 209, 82)
HSLhsl(55, 66%, 59%)
HSVhsv(55, 63%, 86%)
CMYKcmyk(0%, 5%, 62.7%, 13.7%)
CIE-LABlab(82.61, -11.33, 62.32)
CIE-LCHlch(82.61, 63.34, 100.30°)
OKLaboklab(84.62% -0.0363 0.1417)
OKLCHoklch(84.62% 0.146 104.4)
XYZxyz(53.8406, 61.4277, 17.0017)
Luminance0.6143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD152 #525DDC
analogous
#DC8C52 #DCD152 #A2DC52
triadic
#DCD152 #52DCD1 #D152DC
tetradic
#DCD152 #52DC8C #525DDC #DC52A2
square
#DCD152 #52DC8C #525DDC #DC52A2
split-complementary
#DCD152 #52A2DC #8C52DC
monochromatic
#958C1E #C8BC29 #DCD152 #E6DF85 #F1ECB8

Accessibility & contrast

On white

1.58
#DCD152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#DCD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD152
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD152#FFFFFF#000000##000000
##DCD1521.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#EBC4B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd152;
/* rgb */ color: rgb(220, 209, 82);
/* oklch */ color: oklch(84.6% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#eade88',
    500: '#dcd152',
    950: '#000000',
  },
}
SCSS
$custom: #dcd152;
$custom-light: #eade88;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd152",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 55.217,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84617,
    "c": 0.14626,
    "h": 104.4
  },
  "luminance": 0.61426
}

Semantic roles & 50–950 ramp

primary
#DCD152
secondary
#38409A
accent
#4CE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD152

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

Preview Lab → · Contrast checker → · Palette generator →

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