#DCD96C#DCD96C

#DCD96C is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.132 H 107.4°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DCD96C
RGBrgb(220, 217, 108)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 51%, 86%)
CMYKcmyk(0%, 1.4%, 50.9%, 13.7%)
CIE-LABlab(84.96, -13.43, 53.41)
CIE-LCHlch(84.96, 55.08, 104.11°)
OKLaboklab(86.57% -0.0395 0.1257)
OKLCHoklch(86.57% 0.132 107.4)
XYZxyz(57.0363, 65.9256, 23.9049)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD96C #6C6FDC
analogous
#DCA16C #DCD96C #A7DC6C
triadic
#DCD96C #6CDCD9 #D96CDC
tetradic
#DCD96C #6CDCA1 #6C6FDC #DC6CA7
square
#DCD96C #6CDCA1 #6C6FDC #DC6CA7
split-complementary
#DCD96C #6CA7DC #A16CDC
monochromatic
#A6A328 #D0CC3B #DCD96C #E8E69D #F4F3CF

Accessibility & contrast

On white

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

On black

14.18
#DCD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD96C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD96C#FFFFFF#000000##000000
##DCD96C1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D262
Deuteranopia (green-blind)
#EAD671
Tritanopia (blue-blind)
#E9CDC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd96c;
/* rgb */ color: rgb(220, 217, 108);
/* oklch */ color: oklch(86.6% 0.132 107.4);
Tailwind
colors: {
  custom: {
    50: '#e9e499',
    500: '#dcd96c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd96c;
$custom-light: #e9e499;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd96c",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 58.393,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86567,
    "c": 0.13177,
    "h": 107.4
  },
  "luminance": 0.65924
}

Semantic roles & 50–950 ramp

primary
#DCD96C
secondary
#4346A9
accent
#21C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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