#DCD96A#DCD96A

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

Color values

HEX#DCD96A
RGBrgb(220, 217, 106)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 52%, 86%)
CMYKcmyk(0%, 1.4%, 51.8%, 13.7%)
CIE-LABlab(84.94, -13.60, 54.32)
CIE-LCHlch(84.94, 55.99, 104.05°)
OKLaboklab(86.54% -0.0402 0.1275)
OKLCHoklch(86.54% 0.134 107.5)
XYZxyz(56.9311, 65.8835, 23.3507)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD96A #6A6DDC
analogous
#DCA06A #DCD96A #A6DC6A
triadic
#DCD96A #6ADCD9 #D96ADC
tetradic
#DCD96A #6ADCA0 #6A6DDC #DC6AA6
square
#DCD96A #6ADCA0 #6A6DDC #DC6AA6
split-complementary
#DCD96A #6AA6DC #A06ADC
monochromatic
#A5A227 #D0CC38 #DCD96A #E8E69C #F3F2CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD96A#FFFFFF#000000##000000
##DCD96A1.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)
#E8D25F
Deuteranopia (green-blind)
#EBD670
Tritanopia (blue-blind)
#EACDC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd96a;
/* rgb */ color: rgb(220, 217, 106);
/* oklch */ color: oklch(86.5% 0.134 107.5);
Tailwind
colors: {
  custom: {
    50: '#e9e498',
    500: '#dcd96a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd96a;
$custom-light: #e9e498;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd96a",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 58.421,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86543,
    "c": 0.13367,
    "h": 107.5
  },
  "luminance": 0.65882
}

Semantic roles & 50–950 ramp

primary
#DCD96A
secondary
#4245A8
accent
#20CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD96A

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

Preview Lab → · Contrast checker → · Palette generator →

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