#DCDC94#DCDC94

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

Color values

HEX#DCDC94
RGBrgb(220, 220, 148)
HSLhsl(60, 51%, 72%)
HSVhsv(60, 33%, 86%)
CMYKcmyk(0%, 0%, 32.7%, 13.7%)
CIE-LABlab(86.28, -10.85, 35.46)
CIE-LCHlch(86.28, 37.08, 107.01°)
OKLaboklab(87.79% -0.0288 0.0878)
OKLCHoklch(87.79% 0.092 108.2)
XYZxyz(60.4542, 68.5412, 38.0563)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC94 #9494DC
analogous
#DCB894 #DCDC94 #B8DC94
triadic
#DCDC94 #94DCDC #DC94DC
tetradic
#DCDC94 #94DCB8 #9494DC #DC94B8
square
#DCDC94 #94DCB8 #9494DC #DC94B8
split-complementary
#DCDC94 #94B8DC #B894DC
monochromatic
#B9B93D #CDCD66 #DCDC94 #EBEBC2 #F7F7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC94#FFFFFF#000000##000000
##DCDC941.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)
#E7D68F
Deuteranopia (green-blind)
#E9D997
Tritanopia (blue-blind)
#E6D3CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc94;
/* rgb */ color: rgb(220, 220, 148);
/* oklch */ color: oklch(87.8% 0.092 108.2);
Tailwind
colors: {
  custom: {
    50: '#e8e6b4',
    500: '#dcdc94',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc94;
$custom-light: #e8e6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc94",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 148
  },
  "hsl": {
    "h": 60,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87788,
    "c": 0.09237,
    "h": 108.2
  },
  "luminance": 0.6854
}

Semantic roles & 50–950 ramp

primary
#DCDC94
secondary
#6161B4
accent
#27BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC94

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

Preview Lab → · Contrast checker → · Palette generator →

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