#DCDC7B#DCDC7B

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

Color values

HEX#DCDC7B
RGBrgb(220, 220, 123)
HSLhsl(60, 58%, 67%)
HSVhsv(60, 44%, 86%)
CMYKcmyk(0%, 0%, 44.1%, 13.7%)
CIE-LABlab(85.92, -13.56, 47.44)
CIE-LCHlch(85.92, 49.34, 105.96°)
OKLaboklab(87.39% -0.0384 0.1138)
OKLCHoklch(87.39% 0.12 108.6)
XYZxyz(58.6846, 67.8334, 28.7368)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC7B #7B7BDC
analogous
#DCAC7B #DCDC7B #ACDC7B
triadic
#DCDC7B #7BDCDC #DC7BDC
tetradic
#DCDC7B #7BDCAC #7B7BDC #DC7BAC
square
#DCDC7B #7BDCAC #7B7BDC #DC7BAC
split-complementary
#DCDC7B #7BACDC #AC7BDC
monochromatic
#AEAE2E #CFCF4B #DCDC7B #E9E9AB #F6F6DC

Accessibility & contrast

On white

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

On black

14.57
#DCDC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC7B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC7B#FFFFFF#000000##000000
##DCDC7B1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc7b;
/* rgb */ color: rgb(220, 220, 123);
/* oklch */ color: oklch(87.4% 0.120 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e6a3',
    500: '#dcdc7b',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc7b;
$custom-light: #e8e6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc7b",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87392,
    "c": 0.12012,
    "h": 108.6
  },
  "luminance": 0.67832
}

Semantic roles & 50–950 ramp

primary
#DCDC7B
secondary
#4B4BB1
accent
#20C620
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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