#DCDC7F#DCDC7F

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

Color values

HEX#DCDC7F
RGBrgb(220, 220, 127)
HSLhsl(60, 57%, 68%)
HSVhsv(60, 42%, 86%)
CMYKcmyk(0%, 0%, 42.3%, 13.7%)
CIE-LABlab(85.97, -13.17, 45.56)
CIE-LCHlch(85.97, 47.42, 106.12°)
OKLaboklab(87.45% -0.0369 0.1099)
OKLCHoklch(87.45% 0.116 108.6)
XYZxyz(58.9402, 67.9356, 30.0826)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC7F #7F7FDC
analogous
#DCAD7F #DCDC7F #ADDC7F
triadic
#DCDC7F #7FDCDC #DC7FDC
tetradic
#DCDC7F #7FDCAD #7F7FDC #DC7FAD
square
#DCDC7F #7FDCAD #7F7FDC #DC7FAD
split-complementary
#DCDC7F #7FADDC #AD7FDC
monochromatic
#B0B030 #CFCF4F #DCDC7F #E9E9AF #F6F6DF

Accessibility & contrast

On white

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

On black

14.59
#DCDC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC7F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC7F#FFFFFF#000000##000000
##DCDC7F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD577
Deuteranopia (green-blind)
#EBD983
Tritanopia (blue-blind)
#E8D2C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc7f;
/* rgb */ color: rgb(220, 220, 127);
/* oklch */ color: oklch(87.4% 0.116 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e6a6',
    500: '#dcdc7f',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc7f;
$custom-light: #e8e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc7f",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87449,
    "c": 0.11591,
    "h": 108.6
  },
  "luminance": 0.67934
}

Semantic roles & 50–950 ramp

primary
#DCDC7F
secondary
#4D4DB2
accent
#21C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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