#DCDC95#DCDC95

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

Color values

HEX#DCDC95
RGBrgb(220, 220, 149)
HSLhsl(60, 50%, 72%)
HSVhsv(60, 32%, 86%)
CMYKcmyk(0%, 0%, 32.3%, 13.7%)
CIE-LABlab(86.29, -10.73, 34.97)
CIE-LCHlch(86.29, 36.58, 107.06°)
OKLaboklab(87.81% -0.0284 0.0867)
OKLCHoklch(87.81% 0.091 108.1)
XYZxyz(60.5337, 68.5730, 38.4750)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC95 #9595DC
analogous
#DCB995 #DCDC95 #B9DC95
triadic
#DCDC95 #95DCDC #DC95DC
tetradic
#DCDC95 #95DCB9 #9595DC #DC95B9
square
#DCDC95 #95DCB9 #9595DC #DC95B9
split-complementary
#DCDC95 #95B9DC #B995DC
monochromatic
#B9B93D #CDCD67 #DCDC95 #EBEBC3 #F7F7E8

Accessibility & contrast

On white

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

On black

14.71
#DCDC95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC95
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC95#FFFFFF#000000##000000
##DCDC951.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D690
Deuteranopia (green-blind)
#E8D998
Tritanopia (blue-blind)
#E6D3CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc95;
/* rgb */ color: rgb(220, 220, 149);
/* oklch */ color: oklch(87.8% 0.091 108.1);
Tailwind
colors: {
  custom: {
    50: '#e8e6b5',
    500: '#dcdc95',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc95;
$custom-light: #e8e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc95",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87805,
    "c": 0.0912,
    "h": 108.1
  },
  "luminance": 0.68572
}

Semantic roles & 50–950 ramp

primary
#DCDC95
secondary
#6262B4
accent
#28BE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC95

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

Preview Lab → · Contrast checker → · Palette generator →

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