#DCDC8E#DCDC8E

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

Color values

HEX#DCDC8E
RGBrgb(220, 220, 142)
HSLhsl(60, 53%, 71%)
HSVhsv(60, 35%, 86%)
CMYKcmyk(0%, 0%, 35.5%, 13.7%)
CIE-LABlab(86.18, -11.55, 38.37)
CIE-LCHlch(86.18, 40.07, 106.75°)
OKLaboklab(87.68% -0.0312 0.0943)
OKLCHoklch(87.68% 0.099 108.3)
XYZxyz(59.9915, 68.3562, 35.6197)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC8E #8E8EDC
analogous
#DCB58E #DCDC8E #B5DC8E
triadic
#DCDC8E #8EDCDC #DC8EDC
tetradic
#DCDC8E #8EDCB5 #8E8EDC #DC8EB5
square
#DCDC8E #8EDCB5 #8E8EDC #DC8EB5
split-complementary
#DCDC8E #8EB5DC #B58EDC
monochromatic
#B7B739 #CECE5F #DCDC8E #EAEABD #F8F8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC8E#FFFFFF#000000##000000
##DCDC8E1.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)
#E8D688
Deuteranopia (green-blind)
#E9D991
Tritanopia (blue-blind)
#E7D3C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc8e;
/* rgb */ color: rgb(220, 220, 142);
/* oklch */ color: oklch(87.7% 0.099 108.3);
Tailwind
colors: {
  custom: {
    50: '#e8e6b0',
    500: '#dcdc8e',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc8e;
$custom-light: #e8e6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc8e",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 142
  },
  "hsl": {
    "h": 60,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87684,
    "c": 0.09932,
    "h": 108.3
  },
  "luminance": 0.68355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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