#DCD462#DCD462

#DCD462 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.136 H 105.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DCD462
RGBrgb(220, 212, 98)
HSLhsl(56, 64%, 62%)
HSVhsv(56, 55%, 86%)
CMYKcmyk(0%, 3.6%, 55.5%, 13.7%)
CIE-LABlab(83.54, -11.73, 56.37)
CIE-LCHlch(83.54, 57.57, 101.75°)
OKLaboklab(85.41% -0.0357 0.1311)
OKLCHoklch(85.41% 0.136 105.2)
XYZxyz(55.2650, 63.1862, 20.8379)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD462 #626ADC
analogous
#DC9762 #DCD462 #A7DC62
triadic
#DCD462 #62DCD4 #D462DC
tetradic
#DCD462 #62DC97 #626ADC #DC62A7
square
#DCD462 #62DC97 #626ADC #DC62A7
split-complementary
#DCD462 #62A7DC #9762DC
monochromatic
#A09824 #D1C630 #DCD462 #E7E294 #F2EFC6

Accessibility & contrast

On white

1.54
#DCD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#DCD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD462
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD462#FFFFFF#000000##000000
##DCD4621.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E7D368
Tritanopia (blue-blind)
#EAC8BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd462;
/* rgb */ color: rgb(220, 212, 98);
/* oklch */ color: oklch(85.4% 0.136 105.2);
Tailwind
colors: {
  custom: {
    50: '#e9e192',
    500: '#dcd462',
    950: '#000000',
  },
}
SCSS
$custom: #dcd462;
$custom-light: #e9e192;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd462",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 56.066,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85405,
    "c": 0.13584,
    "h": 105.2
  },
  "luminance": 0.63184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD462

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

Preview Lab → · Contrast checker → · Palette generator →

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