#DCD96E#DCD96E

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

Color values

HEX#DCD96E
RGBrgb(220, 217, 110)
HSLhsl(58, 61%, 65%)
HSVhsv(58, 50%, 86%)
CMYKcmyk(0%, 1.4%, 50%, 13.7%)
CIE-LABlab(84.98, -13.26, 52.50)
CIE-LCHlch(84.98, 54.15, 104.17°)
OKLaboklab(86.59% -0.0388 0.1239)
OKLCHoklch(86.59% 0.13 107.4)
XYZxyz(57.1439, 65.9687, 24.4719)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD96E #6E71DC
analogous
#DCA26E #DCD96E #A8DC6E
triadic
#DCD96E #6EDCD9 #D96EDC
tetradic
#DCD96E #6EDCA2 #6E71DC #DC6EA8
square
#DCD96E #6EDCA2 #6E71DC #DC6EA8
split-complementary
#DCD96E #6EA8DC #A26EDC
monochromatic
#A7A428 #D0CC3D #DCD96E #E8E69F #F4F3D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD96E#FFFFFF#000000##000000
##DCD96E1.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)
#E8D264
Deuteranopia (green-blind)
#EAD673
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd96e;
/* rgb */ color: rgb(220, 217, 110);
/* oklch */ color: oklch(86.6% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#e9e49a',
    500: '#dcd96e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd96e;
$custom-light: #e9e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd96e",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 58.364,
    "s": 61.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86592,
    "c": 0.12986,
    "h": 107.4
  },
  "luminance": 0.65967
}

Semantic roles & 50–950 ramp

primary
#DCD96E
secondary
#4447AA
accent
#21C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD96E

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

Preview Lab → · Contrast checker → · Palette generator →

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