#DCDC4F#DCDC4F

#DCDC4F is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.159 H 109.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#DCDC4F
RGBrgb(220, 220, 79)
HSLhsl(60, 67%, 59%)
HSVhsv(60, 64%, 86%)
CMYKcmyk(0%, 0%, 64.1%, 13.7%)
CIE-LABlab(85.49, -16.98, 66.56)
CIE-LCHlch(85.49, 68.70, 104.31°)
OKLaboklab(86.9% -0.0526 0.1502)
OKLCHoklch(86.9% 0.159 109.3)
XYZxyz(56.5215, 66.9682, 17.3444)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC4F #4F4FDC
analogous
#DC954F #DCDC4F #95DC4F
triadic
#DCDC4F #4FDCDC #DC4FDC
tetradic
#DCDC4F #4FDC95 #4F4FDC #DC4F95
square
#DCDC4F #4FDC95 #4F4FDC #DC4F95
split-complementary
#DCDC4F #4F95DC #954FDC
monochromatic
#93931D #C6C627 #DCDC4F #E6E682 #F0F0B5

Accessibility & contrast

On white

1.46
#DCDC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#DCDC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC4F
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC4F#FFFFFF#000000##000000
##DCDC4F1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#EFD858
Tritanopia (blue-blind)
#EBCFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc4f;
/* rgb */ color: rgb(220, 220, 79);
/* oklch */ color: oklch(86.9% 0.159 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae687',
    500: '#dcdc4f',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc4f;
$custom-light: #eae687;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc4f",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86904,
    "c": 0.15917,
    "h": 109.3
  },
  "luminance": 0.66967
}

Semantic roles & 50–950 ramp

primary
#DCDC4F
secondary
#373798
accent
#3EEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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