#DCDC8F#DCDC8F

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

Color values

HEX#DCDC8F
RGBrgb(220, 220, 143)
HSLhsl(60, 52%, 71%)
HSVhsv(60, 35%, 86%)
CMYKcmyk(0%, 0%, 35%, 13.7%)
CIE-LABlab(86.20, -11.44, 37.89)
CIE-LCHlch(86.20, 39.58, 106.80°)
OKLaboklab(87.7% -0.0308 0.0932)
OKLCHoklch(87.7% 0.098 108.3)
XYZxyz(60.0669, 68.3863, 36.0169)
Luminance0.6838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC8F #8F8FDC
analogous
#DCB58F #DCDC8F #B5DC8F
triadic
#DCDC8F #8FDCDC #DC8FDC
tetradic
#DCDC8F #8FDCB5 #8F8FDC #DC8FB5
square
#DCDC8F #8FDCB5 #8F8FDC #DC8FB5
split-complementary
#DCDC8F #8FB5DC #B58FDC
monochromatic
#B7B739 #CDCD60 #DCDC8F #EBEBBE #F8F8E8

Accessibility & contrast

On white

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

On black

14.68
#DCDC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC8F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC8F#FFFFFF#000000##000000
##DCDC8F1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D689
Deuteranopia (green-blind)
#E9D992
Tritanopia (blue-blind)
#E6D3C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc8f;
/* rgb */ color: rgb(220, 220, 143);
/* oklch */ color: oklch(87.7% 0.098 108.3);
Tailwind
colors: {
  custom: {
    50: '#e8e6b0',
    500: '#dcdc8f',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc8f;
$custom-light: #e8e6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc8f",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 143
  },
  "hsl": {
    "h": 60,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87701,
    "c": 0.09818,
    "h": 108.3
  },
  "luminance": 0.68385
}

Semantic roles & 50–950 ramp

primary
#DCDC8F
secondary
#5C5CB3
accent
#26C026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DCDC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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