#DCDC98#DCDC98

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

Color values

HEX#DCDC98
RGBrgb(220, 220, 152)
HSLhsl(60, 49%, 73%)
HSVhsv(60, 31%, 86%)
CMYKcmyk(0%, 0%, 30.9%, 13.7%)
CIE-LABlab(86.34, -10.36, 33.51)
CIE-LCHlch(86.34, 35.07, 107.19°)
OKLaboklab(87.86% -0.0272 0.0833)
OKLCHoklch(87.86% 0.088 108.1)
XYZxyz(60.7763, 68.6701, 39.7527)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC98 #9898DC
analogous
#DCBA98 #DCDC98 #BADC98
triadic
#DCDC98 #98DCDC #DC98DC
tetradic
#DCDC98 #98DCBA #9898DC #DC98BA
square
#DCDC98 #98DCBA #9898DC #DC98BA
split-complementary
#DCDC98 #98BADC #BA98DC
monochromatic
#BABA3F #CCCC6A #DCDC98 #ECECC6 #F7F7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC98#FFFFFF#000000##000000
##DCDC981.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)
#E7D693
Deuteranopia (green-blind)
#E8D99B
Tritanopia (blue-blind)
#E6D4CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc98;
/* rgb */ color: rgb(220, 220, 152);
/* oklch */ color: oklch(87.9% 0.088 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e6b7',
    500: '#dcdc98',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc98;
$custom-light: #e7e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc98",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87859,
    "c": 0.08766,
    "h": 108.1
  },
  "luminance": 0.68669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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