#DCDC7A#DCDC7A

#DCDC7A is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.4% C 0.121 H 108.7°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#DCDC7A
RGBrgb(220, 220, 122)
HSLhsl(60, 58%, 67%)
HSVhsv(60, 45%, 86%)
CMYKcmyk(0%, 0%, 44.5%, 13.7%)
CIE-LABlab(85.91, -13.66, 47.91)
CIE-LCHlch(85.91, 49.82, 105.91°)
OKLaboklab(87.38% -0.0388 0.1148)
OKLCHoklch(87.38% 0.121 108.7)
XYZxyz(58.6224, 67.8085, 28.4088)
Luminance0.6781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC7A #7A7ADC
analogous
#DCAB7A #DCDC7A #ABDC7A
triadic
#DCDC7A #7ADCDC #DC7ADC
tetradic
#DCDC7A #7ADCAB #7A7ADC #DC7AAB
square
#DCDC7A #7ADCAB #7A7ADC #DC7AAB
split-complementary
#DCDC7A #7AABDC #AB7ADC
monochromatic
#AEAE2E #CFCF4A #DCDC7A #E9E9AA #F6F6DB

Accessibility & contrast

On white

1.44
#DCDC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#DCDC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC7A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC7A#FFFFFF#000000##000000
##DCDC7A1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD572
Deuteranopia (green-blind)
#EBD97F
Tritanopia (blue-blind)
#E8D1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc7a;
/* rgb */ color: rgb(220, 220, 122);
/* oklch */ color: oklch(87.4% 0.121 108.7);
Tailwind
colors: {
  custom: {
    50: '#e8e6a2',
    500: '#dcdc7a',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc7a;
$custom-light: #e8e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc7a",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87378,
    "c": 0.12115,
    "h": 108.7
  },
  "luminance": 0.67807
}

Semantic roles & 50–950 ramp

primary
#DCDC7A
secondary
#4A4AB0
accent
#20C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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