#DCD964#DCD964

#DCD964 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.139 H 107.6°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#DCD964
RGBrgb(220, 217, 100)
HSLhsl(59, 63%, 63%)
HSVhsv(59, 55%, 86%)
CMYKcmyk(0%, 1.4%, 54.5%, 13.7%)
CIE-LABlab(84.88, -14.08, 56.98)
CIE-LCHlch(84.88, 58.70, 103.87°)
OKLaboklab(86.47% -0.0422 0.1326)
OKLCHoklch(86.47% 0.139 107.6)
XYZxyz(56.6299, 65.7630, 21.7646)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD964 #6467DC
analogous
#DC9D64 #DCD964 #A3DC64
triadic
#DCD964 #64DCD9 #D964DC
tetradic
#DCD964 #64DC9D #6467DC #DC64A3
square
#DCD964 #64DC9D #6467DC #DC64A3
split-complementary
#DCD964 #64A3DC #9D64DC
monochromatic
#A19E24 #D1CD32 #DCD964 #E7E596 #F3F1C8

Accessibility & contrast

On white

1.48
#DCD964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#DCD964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD964
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD964#FFFFFF#000000##000000
##DCD9641.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D158
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd964;
/* rgb */ color: rgb(220, 217, 100);
/* oklch */ color: oklch(86.5% 0.139 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e494',
    500: '#dcd964',
    950: '#000000',
  },
}
SCSS
$custom: #dcd964;
$custom-light: #e9e494;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd964",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 100
  },
  "hsl": {
    "h": 58.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86474,
    "c": 0.13916,
    "h": 107.6
  },
  "luminance": 0.65761
}

Semantic roles & 50–950 ramp

primary
#DCD964
secondary
#4042A5
accent
#1FCB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD964

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

Preview Lab → · Contrast checker → · Palette generator →

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