#DCC562#DCC562

#DCC562 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.122 H 96.5°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#DCC562
RGBrgb(220, 197, 98)
HSLhsl(49, 64%, 62%)
HSVhsv(49, 55%, 86%)
CMYKcmyk(0%, 10.5%, 55.5%, 13.7%)
CIE-LABlab(79.63, -4.09, 51.87)
CIE-LCHlch(79.63, 52.03, 94.51°)
OKLaboklab(82.31% -0.0137 0.1214)
OKLCHoklch(82.31% 0.122 96.5)
XYZxyz(51.6880, 56.0322, 19.6456)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC562 #6279DC
analogous
#DC8862 #DCC562 #B6DC62
triadic
#DCC562 #62DCC5 #C562DC
tetradic
#DCC562 #62DC88 #6279DC #DC62B6
square
#DCC562 #62DC88 #6279DC #DC62B6
split-complementary
#DCC562 #62B6DC #8862DC
monochromatic
#A08924 #D1B330 #DCC562 #E7D794 #F2EAC6

Accessibility & contrast

On white

1.72
#DCC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#DCC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC562
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC562#FFFFFF#000000##000000
##DCC5621.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#DCC966
Tritanopia (blue-blind)
#EBB8AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc562;
/* rgb */ color: rgb(220, 197, 98);
/* oklch */ color: oklch(82.3% 0.122 96.5);
Tailwind
colors: {
  custom: {
    50: '#e9d691',
    500: '#dcc562',
    950: '#000000',
  },
}
SCSS
$custom: #dcc562;
$custom-light: #e9d691;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc562",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 48.689,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82305,
    "c": 0.12216,
    "h": 96.5
  },
  "luminance": 0.5603
}

Semantic roles & 50–950 ramp

primary
#DCC562
secondary
#3F52A3
accent
#3CCB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC562

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

Preview Lab → · Contrast checker → · Palette generator →

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