#DCDC8D#DCDC8D

#DCDC8D is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.7% C 0.100 H 108.3°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#DCDC8D
RGBrgb(220, 220, 141)
HSLhsl(60, 53%, 71%)
HSVhsv(60, 36%, 86%)
CMYKcmyk(0%, 0%, 35.9%, 13.7%)
CIE-LABlab(86.17, -11.67, 38.86)
CIE-LCHlch(86.17, 40.57, 106.71°)
OKLaboklab(87.67% -0.0315 0.0954)
OKLCHoklch(87.67% 0.1 108.3)
XYZxyz(59.9168, 68.3263, 35.2261)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC8D #8D8DDC
analogous
#DCB48D #DCDC8D #B4DC8D
triadic
#DCDC8D #8DDCDC #DC8DDC
tetradic
#DCDC8D #8DDCB4 #8D8DDC #DC8DB4
square
#DCDC8D #8DDCB4 #8D8DDC #DC8DB4
split-complementary
#DCDC8D #8DB4DC #B48DDC
monochromatic
#B7B738 #CECE5E #DCDC8D #EAEABC #F8F8E8

Accessibility & contrast

On white

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

On black

14.67
#DCDC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC8D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC8D#FFFFFF#000000##000000
##DCDC8D1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D687
Deuteranopia (green-blind)
#E9D990
Tritanopia (blue-blind)
#E7D3C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc8d;
/* rgb */ color: rgb(220, 220, 141);
/* oklch */ color: oklch(87.7% 0.100 108.3);
Tailwind
colors: {
  custom: {
    50: '#e8e6af',
    500: '#dcdc8d',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc8d;
$custom-light: #e8e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc8d",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87668,
    "c": 0.10046,
    "h": 108.3
  },
  "luminance": 0.68325
}

Semantic roles & 50–950 ramp

primary
#DCDC8D
secondary
#5A5AB3
accent
#25C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DCDC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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