#DCDC54#DCDC54

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

Color values

HEX#DCDC54
RGBrgb(220, 220, 84)
HSLhsl(60, 66%, 60%)
HSVhsv(60, 62%, 86%)
CMYKcmyk(0%, 0%, 61.8%, 13.7%)
CIE-LABlab(85.53, -16.68, 64.59)
CIE-LCHlch(85.53, 66.71, 104.48°)
OKLaboklab(86.95% -0.0512 0.1468)
OKLCHoklch(86.95% 0.155 109.2)
XYZxyz(56.7104, 67.0437, 18.3392)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC54 #5454DC
analogous
#DC9854 #DCDC54 #98DC54
triadic
#DCDC54 #54DCDC #DC54DC
tetradic
#DCDC54 #54DC98 #5454DC #DC5498
square
#DCDC54 #54DC98 #5454DC #DC5498
split-complementary
#DCDC54 #5498DC #9854DC
monochromatic
#97971F #CACA29 #DCDC54 #E6E687 #F1F1BA

Accessibility & contrast

On white

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

On black

14.41
#DCDC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC54
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC54#FFFFFF#000000##000000
##DCDC541.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD343
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#EBCFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc54;
/* rgb */ color: rgb(220, 220, 84);
/* oklch */ color: oklch(86.9% 0.155 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae68a',
    500: '#dcdc54',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc54;
$custom-light: #eae68a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc54",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86947,
    "c": 0.15549,
    "h": 109.2
  },
  "luminance": 0.67042
}

Semantic roles & 50–950 ramp

primary
#DCDC54
secondary
#39399B
accent
#3FE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC54

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

Preview Lab → · Contrast checker → · Palette generator →

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