#DCDC99#DCDC99

#DCDC99 is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 87.9% C 0.086 H 108.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#DCDC99
RGBrgb(220, 220, 153)
HSLhsl(60, 49%, 73%)
HSVhsv(60, 30%, 86%)
CMYKcmyk(0%, 0%, 30.5%, 13.7%)
CIE-LABlab(86.36, -10.24, 33.02)
CIE-LCHlch(86.36, 34.57, 107.23°)
OKLaboklab(87.88% -0.0268 0.0822)
OKLCHoklch(87.88% 0.086 108.1)
XYZxyz(60.8585, 68.7030, 40.1858)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC99 #9999DC
analogous
#DCBA99 #DCDC99 #BADC99
triadic
#DCDC99 #99DCDC #DC99DC
tetradic
#DCDC99 #99DCBA #9999DC #DC99BA
square
#DCDC99 #99DCBA #9999DC #DC99BA
split-complementary
#DCDC99 #99BADC #BA99DC
monochromatic
#BBBB40 #CCCC6B #DCDC99 #ECECC7 #F7F7E8

Accessibility & contrast

On white

1.42
#DCDC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#DCDC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC99
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC99#FFFFFF#000000##000000
##DCDC991.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D794
Deuteranopia (green-blind)
#E8D99C
Tritanopia (blue-blind)
#E5D4CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc99;
/* rgb */ color: rgb(220, 220, 153);
/* oklch */ color: oklch(87.9% 0.086 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e6b7',
    500: '#dcdc99',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc99;
$custom-light: #e7e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc99",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87878,
    "c": 0.08646,
    "h": 108.1
  },
  "luminance": 0.68702
}

Semantic roles & 50–950 ramp

primary
#DCDC99
secondary
#6565B4
accent
#29BC29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC99

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

Preview Lab → · Contrast checker → · Palette generator →

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