#DCDC97#DCDC97

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

Color values

HEX#DCDC97
RGBrgb(220, 220, 151)
HSLhsl(60, 50%, 73%)
HSVhsv(60, 31%, 86%)
CMYKcmyk(0%, 0%, 31.4%, 13.7%)
CIE-LABlab(86.32, -10.49, 33.99)
CIE-LCHlch(86.32, 35.57, 107.14°)
OKLaboklab(87.84% -0.0276 0.0845)
OKLCHoklch(87.84% 0.089 108.1)
XYZxyz(60.6947, 68.6374, 39.3232)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC97 #9797DC
analogous
#DCB997 #DCDC97 #B9DC97
triadic
#DCDC97 #97DCDC #DC97DC
tetradic
#DCDC97 #97DCB9 #9797DC #DC97B9
square
#DCDC97 #97DCB9 #9797DC #DC97B9
split-complementary
#DCDC97 #97B9DC #B997DC
monochromatic
#BABA3F #CDCD69 #DCDC97 #EBEBC5 #F7F7E8

Accessibility & contrast

On white

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

On black

14.73
#DCDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC97
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC97#FFFFFF#000000##000000
##DCDC971.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc97;
/* rgb */ color: rgb(220, 220, 151);
/* oklch */ color: oklch(87.8% 0.089 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e6b6',
    500: '#dcdc97',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc97;
$custom-light: #e7e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc97",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87841,
    "c": 0.08885,
    "h": 108.1
  },
  "luminance": 0.68636
}

Semantic roles & 50–950 ramp

primary
#DCDC97
secondary
#6464B4
accent
#29BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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