#DCDC4C#DCDC4C

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

Color values

HEX#DCDC4C
RGBrgb(220, 220, 76)
HSLhsl(60, 67%, 58%)
HSVhsv(60, 65%, 86%)
CMYKcmyk(0%, 0%, 65.5%, 13.7%)
CIE-LABlab(85.47, -17.16, 67.71)
CIE-LCHlch(85.47, 69.85, 104.22°)
OKLaboklab(86.88% -0.0534 0.1522)
OKLCHoklch(86.88% 0.161 109.3)
XYZxyz(56.4148, 66.9255, 16.7822)
Luminance0.6692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC4C #4C4CDC
analogous
#DC944C #DCDC4C #94DC4C
triadic
#DCDC4C #4CDCDC #DC4CDC
tetradic
#DCDC4C #4CDC94 #4C4CDC #DC4C94
square
#DCDC4C #4CDC94 #4C4CDC #DC4C94
split-complementary
#DCDC4C #4C94DC #944CDC
monochromatic
#91911C #C4C426 #DCDC4C #E6E67F #F0F0B2

Accessibility & contrast

On white

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

On black

14.38
#DCDC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC4C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC4C#FFFFFF#000000##000000
##DCDC4C1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc4c;
/* rgb */ color: rgb(220, 220, 76);
/* oklch */ color: oklch(86.9% 0.161 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae686',
    500: '#dcdc4c',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc4c;
$custom-light: #eae686;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc4c",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8688,
    "c": 0.16127,
    "h": 109.3
  },
  "luminance": 0.66924
}

Semantic roles & 50–950 ramp

primary
#DCDC4C
secondary
#363696
accent
#3EEA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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