#DCD662#DCD662

#DCD662 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.138 H 106.2°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DCD662
RGBrgb(220, 214, 98)
HSLhsl(57, 64%, 62%)
HSVhsv(57, 55%, 86%)
CMYKcmyk(0%, 2.7%, 55.5%, 13.7%)
CIE-LABlab(84.07, -12.73, 56.96)
CIE-LCHlch(84.07, 58.37, 102.60°)
OKLaboklab(85.82% -0.0385 0.1324)
OKLCHoklch(85.82% 0.138 106.2)
XYZxyz(55.7680, 64.1923, 21.0056)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD662 #6268DC
analogous
#DC9962 #DCD662 #A5DC62
triadic
#DCD662 #62DCD6 #D662DC
tetradic
#DCD662 #62DC99 #6268DC #DC62A5
square
#DCD662 #62DC99 #6268DC #DC62A5
split-complementary
#DCD662 #62A5DC #9962DC
monochromatic
#A09A24 #D1C930 #DCD662 #E7E394 #F2F0C6

Accessibility & contrast

On white

1.52
#DCD662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#DCD662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD662
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD662#FFFFFF#000000##000000
##DCD6621.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#E9D468
Tritanopia (blue-blind)
#EACABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd662;
/* rgb */ color: rgb(220, 214, 98);
/* oklch */ color: oklch(85.8% 0.138 106.2);
Tailwind
colors: {
  custom: {
    50: '#e9e292',
    500: '#dcd662',
    950: '#000000',
  },
}
SCSS
$custom: #dcd662;
$custom-light: #e9e292;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd662",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 57.049,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85823,
    "c": 0.13785,
    "h": 106.2
  },
  "luminance": 0.64191
}

Semantic roles & 50–950 ramp

primary
#DCD662
secondary
#3F44A3
accent
#23CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD662

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

Preview Lab → · Contrast checker → · Palette generator →

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