#DCCC50#DCCC50

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

Color values

HEX#DCCC50
RGBrgb(220, 204, 80)
HSLhsl(53, 67%, 59%)
HSVhsv(53, 64%, 86%)
CMYKcmyk(0%, 7.3%, 63.6%, 13.7%)
CIE-LABlab(81.28, -8.92, 61.74)
CIE-LCHlch(81.28, 62.38, 98.22°)
OKLaboklab(83.56% -0.0297 0.1402)
OKLCHoklch(83.56% 0.143 102)
XYZxyz(52.5581, 58.9827, 16.2042)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC50 #5060DC
analogous
#DC8650 #DCCC50 #A6DC50
triadic
#DCCC50 #50DCCC #CC50DC
tetradic
#DCCC50 #50DC86 #5060DC #DC50A6
square
#DCCC50 #50DC86 #5060DC #DC50A6
split-complementary
#DCCC50 #50A6DC #8650DC
monochromatic
#94861E #C7B528 #DCCC50 #E6DB83 #F0EAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCCC50#FFFFFF#000000##000000
##DCCC501.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)
#DEC641
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#ECBEB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc50;
/* rgb */ color: rgb(220, 204, 80);
/* oklch */ color: oklch(83.6% 0.143 102.0);
Tailwind
colors: {
  custom: {
    50: '#eadb87',
    500: '#dccc50',
    950: '#000000',
  },
}
SCSS
$custom: #dccc50;
$custom-light: #eadb87;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc50",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 53.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83558,
    "c": 0.14329,
    "h": 102
  },
  "luminance": 0.58981
}

Semantic roles & 50–950 ramp

primary
#DCCC50
secondary
#384399
accent
#52EA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCC50

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

Preview Lab → · Contrast checker → · Palette generator →

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