#DCD460#DCD460

#DCD460 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.138 H 105.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DCD460
RGBrgb(220, 212, 96)
HSLhsl(56, 64%, 62%)
HSVhsv(56, 56%, 86%)
CMYKcmyk(0%, 3.6%, 56.4%, 13.7%)
CIE-LABlab(83.52, -11.88, 57.24)
CIE-LCHlch(83.52, 58.46, 101.72°)
OKLaboklab(85.38% -0.0363 0.1327)
OKLCHoklch(85.38% 0.138 105.3)
XYZxyz(55.1717, 63.1489, 20.3468)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD460 #6068DC
analogous
#DC9660 #DCD460 #A6DC60
triadic
#DCD460 #60DCD4 #D460DC
tetradic
#DCD460 #60DC96 #6068DC #DC60A6
square
#DCD460 #60DC96 #6068DC #DC60A6
split-complementary
#DCD460 #60A6DC #9660DC
monochromatic
#9F9723 #D1C62E #DCD460 #E7E292 #F2EFC4

Accessibility & contrast

On white

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

On black

13.63
#DCD460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD460
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD460#FFFFFF#000000##000000
##DCD4601.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD54
Deuteranopia (green-blind)
#E7D366
Tritanopia (blue-blind)
#EBC7BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd460;
/* rgb */ color: rgb(220, 212, 96);
/* oklch */ color: oklch(85.4% 0.138 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9e191',
    500: '#dcd460',
    950: '#000000',
  },
}
SCSS
$custom: #dcd460;
$custom-light: #e9e191;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd460",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 56.129,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85383,
    "c": 0.13761,
    "h": 105.3
  },
  "luminance": 0.63147
}

Semantic roles & 50–950 ramp

primary
#DCD460
secondary
#3E44A2
accent
#25CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD460

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

Preview Lab → · Contrast checker → · Palette generator →

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