#DCDC96#DCDC96

#DCDC96 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.090 H 108.1°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#DCDC96
RGBrgb(220, 220, 150)
HSLhsl(60, 50%, 73%)
HSVhsv(60, 32%, 86%)
CMYKcmyk(0%, 0%, 31.8%, 13.7%)
CIE-LABlab(86.31, -10.61, 34.48)
CIE-LCHlch(86.31, 36.08, 107.10°)
OKLaboklab(87.82% -0.028 0.0856)
OKLCHoklch(87.82% 0.09 108.1)
XYZxyz(60.6138, 68.6051, 38.8973)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC96 #9696DC
analogous
#DCB996 #DCDC96 #B9DC96
triadic
#DCDC96 #96DCDC #DC96DC
tetradic
#DCDC96 #96DCB9 #9696DC #DC96B9
square
#DCDC96 #96DCB9 #9696DC #DC96B9
split-complementary
#DCDC96 #96B9DC #B996DC
monochromatic
#BABA3E #CDCD68 #DCDC96 #EBEBC4 #F7F7E8

Accessibility & contrast

On white

1.43
#DCDC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#DCDC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC96
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC96#FFFFFF#000000##000000
##DCDC961.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D691
Deuteranopia (green-blind)
#E8D999
Tritanopia (blue-blind)
#E6D4CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc96;
/* rgb */ color: rgb(220, 220, 150);
/* oklch */ color: oklch(87.8% 0.090 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e6b5',
    500: '#dcdc96',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc96;
$custom-light: #e7e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc96",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87823,
    "c": 0.09003,
    "h": 108.1
  },
  "luminance": 0.68604
}

Semantic roles & 50–950 ramp

primary
#DCDC96
secondary
#6363B4
accent
#28BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC96

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

Preview Lab → · Contrast checker → · Palette generator →

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