#DCD062#DCD062

#DCD062 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.132 H 103.1°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#DCD062
RGBrgb(220, 208, 98)
HSLhsl(54, 64%, 62%)
HSVhsv(54, 55%, 86%)
CMYKcmyk(0%, 5.5%, 55.5%, 13.7%)
CIE-LABlab(82.49, -9.71, 55.17)
CIE-LCHlch(82.49, 56.02, 99.98°)
OKLaboklab(84.57% -0.0299 0.1285)
OKLCHoklch(84.57% 0.132 103.1)
XYZxyz(54.2774, 61.2111, 20.5087)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD062 #626EDC
analogous
#DC9362 #DCD062 #ABDC62
triadic
#DCD062 #62DCD0 #D062DC
tetradic
#DCD062 #62DC93 #626EDC #DC62AB
square
#DCD062 #62DC93 #626EDC #DC62AB
split-complementary
#DCD062 #62ABDC #9362DC
monochromatic
#A09424 #D1C130 #DCD062 #E7DF94 #F2EEC6

Accessibility & contrast

On white

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

On black

13.24
#DCD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD062
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD062#FFFFFF#000000##000000
##DCD0621.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E4D067
Tritanopia (blue-blind)
#EBC4B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd062;
/* rgb */ color: rgb(220, 208, 98);
/* oklch */ color: oklch(84.6% 0.132 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9de92',
    500: '#dcd062',
    950: '#000000',
  },
}
SCSS
$custom: #dcd062;
$custom-light: #e9de92;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd062",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 54.098,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84572,
    "c": 0.13194,
    "h": 103.1
  },
  "luminance": 0.61209
}

Semantic roles & 50–950 ramp

primary
#DCD062
secondary
#3F49A3
accent
#2CCB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD062

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

Preview Lab → · Contrast checker → · Palette generator →

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