#DCDC7E#DCDC7E

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

Color values

HEX#DCDC7E
RGBrgb(220, 220, 126)
HSLhsl(60, 57%, 68%)
HSVhsv(60, 43%, 86%)
CMYKcmyk(0%, 0%, 42.7%, 13.7%)
CIE-LABlab(85.96, -13.27, 46.03)
CIE-LCHlch(85.96, 47.90, 106.08°)
OKLaboklab(87.43% -0.0373 0.1109)
OKLCHoklch(87.43% 0.117 108.6)
XYZxyz(58.8753, 67.9097, 29.7411)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC7E #7E7EDC
analogous
#DCAD7E #DCDC7E #ADDC7E
triadic
#DCDC7E #7EDCDC #DC7EDC
tetradic
#DCDC7E #7EDCAD #7E7EDC #DC7EAD
square
#DCDC7E #7EDCAD #7E7EDC #DC7EAD
split-complementary
#DCDC7E #7EADDC #AD7EDC
monochromatic
#B0B030 #CFCF4E #DCDC7E #E9E9AE #F6F6DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC7E#FFFFFF#000000##000000
##DCDC7E1.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)
#EAD576
Deuteranopia (green-blind)
#EBD982
Tritanopia (blue-blind)
#E8D1C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc7e;
/* rgb */ color: rgb(220, 220, 126);
/* oklch */ color: oklch(87.4% 0.117 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e6a5',
    500: '#dcdc7e',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc7e;
$custom-light: #e8e6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc7e",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87434,
    "c": 0.11697,
    "h": 108.6
  },
  "luminance": 0.67908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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