#DCCC54#DCCC54

#DCCC54 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.140 H 101.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#DCCC54
RGBrgb(220, 204, 84)
HSLhsl(53, 66%, 60%)
HSVhsv(53, 62%, 86%)
CMYKcmyk(0%, 7.3%, 61.8%, 13.7%)
CIE-LABlab(81.32, -8.67, 60.08)
CIE-LCHlch(81.32, 60.70, 98.21°)
OKLaboklab(83.6% -0.0285 0.1372)
OKLCHoklch(83.6% 0.14 101.7)
XYZxyz(52.7103, 59.0436, 17.0058)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC54 #5464DC
analogous
#DC8854 #DCCC54 #A8DC54
triadic
#DCCC54 #54DCCC #CC54DC
tetradic
#DCCC54 #54DC88 #5464DC #DC54A8
square
#DCCC54 #54DC88 #5464DC #DC54A8
split-complementary
#DCCC54 #54A8DC #8854DC
monochromatic
#97891F #CAB729 #DCCC54 #E6DB87 #F1EABA

Accessibility & contrast

On white

1.64
#DCCC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#DCCC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC54
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC54#FFFFFF#000000##000000
##DCCC541.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#ECBFB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc54;
/* rgb */ color: rgb(220, 204, 84);
/* oklch */ color: oklch(83.6% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#eadb89',
    500: '#dccc54',
    950: '#000000',
  },
}
SCSS
$custom: #dccc54;
$custom-light: #eadb89;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc54",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 52.941,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83596,
    "c": 0.14017,
    "h": 101.7
  },
  "luminance": 0.59041
}

Semantic roles & 50–950 ramp

primary
#DCCC54
secondary
#39459B
accent
#53E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCC54

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

Preview Lab → · Contrast checker → · Palette generator →

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