#DCD96D#DCD96D

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

Color values

HEX#DCD96D
RGBrgb(220, 217, 109)
HSLhsl(58, 61%, 65%)
HSVhsv(58, 50%, 86%)
CMYKcmyk(0%, 1.4%, 50.5%, 13.7%)
CIE-LABlab(84.97, -13.34, 52.96)
CIE-LCHlch(84.97, 54.62, 104.14°)
OKLaboklab(86.58% -0.0391 0.1248)
OKLCHoklch(86.58% 0.131 107.4)
XYZxyz(57.0898, 65.9470, 24.1867)
Luminance0.6594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD96D #6D70DC
analogous
#DCA16D #DCD96D #A8DC6D
triadic
#DCD96D #6DDCD9 #D96DDC
tetradic
#DCD96D #6DDCA1 #6D70DC #DC6DA8
square
#DCD96D #6DDCA1 #6D70DC #DC6DA8
split-complementary
#DCD96D #6DA8DC #A16DDC
monochromatic
#A7A328 #D0CC3C #DCD96D #E8E69E #F4F3D0

Accessibility & contrast

On white

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

On black

14.19
#DCD96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD96D
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD96D#FFFFFF#000000##000000
##DCD96D1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd96d;
/* rgb */ color: rgb(220, 217, 109);
/* oklch */ color: oklch(86.6% 0.131 107.4);
Tailwind
colors: {
  custom: {
    50: '#e9e499',
    500: '#dcd96d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd96d;
$custom-light: #e9e499;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd96d",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 58.378,
    "s": 61.326,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86579,
    "c": 0.13082,
    "h": 107.4
  },
  "luminance": 0.65945
}

Semantic roles & 50–950 ramp

primary
#DCD96D
secondary
#4446AA
accent
#21C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD96D

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

Preview Lab → · Contrast checker → · Palette generator →

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