#DCD562#DCD562

#DCD562 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.137 H 105.7°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#DCD562
RGBrgb(220, 213, 98)
HSLhsl(57, 64%, 62%)
HSVhsv(57, 55%, 86%)
CMYKcmyk(0%, 3.2%, 55.5%, 13.7%)
CIE-LABlab(83.80, -12.23, 56.66)
CIE-LCHlch(83.80, 57.97, 102.18°)
OKLaboklab(85.61% -0.0371 0.1317)
OKLCHoklch(85.61% 0.137 105.7)
XYZxyz(55.5157, 63.6877, 20.9215)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD562 #6269DC
analogous
#DC9862 #DCD562 #A6DC62
triadic
#DCD562 #62DCD5 #D562DC
tetradic
#DCD562 #62DC98 #6269DC #DC62A6
square
#DCD562 #62DC98 #6269DC #DC62A6
split-complementary
#DCD562 #62A6DC #9862DC
monochromatic
#A09924 #D1C830 #DCD562 #E7E294 #F2F0C6

Accessibility & contrast

On white

1.53
#DCD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#DCD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD562
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD562#FFFFFF#000000##000000
##DCD5621.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E8D368
Tritanopia (blue-blind)
#EAC9BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd562;
/* rgb */ color: rgb(220, 213, 98);
/* oklch */ color: oklch(85.6% 0.137 105.7);
Tailwind
colors: {
  custom: {
    50: '#e9e192',
    500: '#dcd562',
    950: '#000000',
  },
}
SCSS
$custom: #dcd562;
$custom-light: #e9e192;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd562",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 56.557,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85614,
    "c": 0.13684,
    "h": 105.7
  },
  "luminance": 0.63686
}

Semantic roles & 50–950 ramp

primary
#DCD562
secondary
#3F45A3
accent
#24CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD562

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

Preview Lab → · Contrast checker → · Palette generator →

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