#DCDC8A#DCDC8A

#DCDC8A is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.6% C 0.104 H 108.4°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#DCDC8A
RGBrgb(220, 220, 138)
HSLhsl(60, 54%, 70%)
HSVhsv(60, 37%, 86%)
CMYKcmyk(0%, 0%, 37.3%, 13.7%)
CIE-LABlab(86.13, -12.00, 40.30)
CIE-LCHlch(86.13, 42.05, 106.58°)
OKLaboklab(87.62% -0.0327 0.0986)
OKLCHoklch(87.62% 0.104 108.4)
XYZxyz(59.6966, 68.2382, 34.0664)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC8A #8A8ADC
analogous
#DCB38A #DCDC8A #B3DC8A
triadic
#DCDC8A #8ADCDC #DC8ADC
tetradic
#DCDC8A #8ADCB3 #8A8ADC #DC8AB3
square
#DCDC8A #8ADCB3 #8A8ADC #DC8AB3
split-complementary
#DCDC8A #8AB3DC #B38ADC
monochromatic
#B5B536 #CECE5B #DCDC8A #EAEAB9 #F8F8E7

Accessibility & contrast

On white

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

On black

14.65
#DCDC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC8A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC8A#FFFFFF#000000##000000
##DCDC8A1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D684
Deuteranopia (green-blind)
#EAD98E
Tritanopia (blue-blind)
#E7D2C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc8a;
/* rgb */ color: rgb(220, 220, 138);
/* oklch */ color: oklch(87.6% 0.104 108.4);
Tailwind
colors: {
  custom: {
    50: '#e8e6ad',
    500: '#dcdc8a',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc8a;
$custom-light: #e8e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc8a",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87618,
    "c": 0.10386,
    "h": 108.4
  },
  "luminance": 0.68237
}

Semantic roles & 50–950 ramp

primary
#DCDC8A
secondary
#5757B3
accent
#24C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DCDC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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