#DCCC51#DCCC51

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

Color values

HEX#DCCC51
RGBrgb(220, 204, 81)
HSLhsl(53, 67%, 59%)
HSVhsv(53, 63%, 86%)
CMYKcmyk(0%, 7.3%, 63.2%, 13.7%)
CIE-LABlab(81.29, -8.86, 61.33)
CIE-LCHlch(81.29, 61.97, 98.22°)
OKLaboklab(83.57% -0.0294 0.1395)
OKLCHoklch(83.57% 0.143 101.9)
XYZxyz(52.5953, 58.9976, 16.4002)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC51 #5161DC
analogous
#DC8751 #DCCC51 #A6DC51
triadic
#DCCC51 #51DCCC #CC51DC
tetradic
#DCCC51 #51DC87 #5161DC #DC51A6
square
#DCCC51 #51DC87 #5161DC #DC51A6
split-complementary
#DCCC51 #51A6DC #8751DC
monochromatic
#95871E #C8B528 #DCCC51 #E6DB84 #F0EAB7

Accessibility & contrast

On white

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

On black

12.80
#DCCC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC51
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC51#FFFFFF#000000##000000
##DCCC511.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dccc51;
/* rgb */ color: rgb(220, 204, 81);
/* oklch */ color: oklch(83.6% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#eadb87',
    500: '#dccc51',
    950: '#000000',
  },
}
SCSS
$custom: #dccc51;
$custom-light: #eadb87;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc51",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 53.094,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83567,
    "c": 0.14252,
    "h": 101.9
  },
  "luminance": 0.58995
}

Semantic roles & 50–950 ramp

primary
#DCCC51
secondary
#384399
accent
#52E93E
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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