#DCDC7D#DCDC7D

#DCDC7D is a very light, moderate yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.118 H 108.6°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#DCDC7D
RGBrgb(220, 220, 125)
HSLhsl(60, 58%, 68%)
HSVhsv(60, 43%, 86%)
CMYKcmyk(0%, 0%, 43.2%, 13.7%)
CIE-LABlab(85.95, -13.37, 46.50)
CIE-LCHlch(85.95, 48.38, 106.04°)
OKLaboklab(87.42% -0.0377 0.1119)
OKLCHoklch(87.42% 0.118 108.6)
XYZxyz(58.8111, 67.8840, 29.4029)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC7D #7D7DDC
analogous
#DCAC7D #DCDC7D #ACDC7D
triadic
#DCDC7D #7DDCDC #DC7DDC
tetradic
#DCDC7D #7DDCAC #7D7DDC #DC7DAC
square
#DCDC7D #7DDCAC #7D7DDC #DC7DAC
split-complementary
#DCDC7D #7DACDC #AC7DDC
monochromatic
#AFAF2F #CFCF4D #DCDC7D #E9E9AD #F6F6DD

Accessibility & contrast

On white

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

On black

14.58
#DCDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC7D
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC7D#FFFFFF#000000##000000
##DCDC7D1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc7d;
/* rgb */ color: rgb(220, 220, 125);
/* oklch */ color: oklch(87.4% 0.118 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e6a4',
    500: '#dcdc7d',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc7d;
$custom-light: #e8e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc7d",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8742,
    "c": 0.11802,
    "h": 108.6
  },
  "luminance": 0.67883
}

Semantic roles & 50–950 ramp

primary
#DCDC7D
secondary
#4C4CB2
accent
#20C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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