#CCC480#CCC480

#CCC480 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.089 H 102.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CCC480
RGBrgb(204, 196, 128)
HSLhsl(54, 43%, 65%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.9%, 37.3%, 20%)
CIE-LABlab(78.39, -7.20, 35.17)
CIE-LCHlch(78.39, 35.89, 101.57°)
OKLaboklab(81.12% -0.019 0.0865)
OKLCHoklch(81.12% 0.089 102.4)
XYZxyz(48.5388, 53.8770, 28.2603)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC480 #8088CC
analogous
#CC9E80 #CCC480 #AECC80
triadic
#CCC480 #80CCC4 #C480CC
tetradic
#CCC480 #80CC9E #8088CC #CC80AE
square
#CCC480 #80CC9E #8088CC #CC80AE
split-complementary
#CCC480 #80AECC #9E80CC
monochromatic
#968C3C #BAB054 #CCC480 #DED8AC #EFEDD7

Accessibility & contrast

On white

1.78
#CCC480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CCC480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC480
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC480#FFFFFF#000000##000000
##CCC4801.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07B
Deuteranopia (green-blind)
#D2C483
Tritanopia (blue-blind)
#D7BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc480;
/* rgb */ color: rgb(204, 196, 128);
/* oklch */ color: oklch(81.1% 0.089 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcd5a5',
    500: '#ccc480',
    950: '#000000',
  },
}
SCSS
$custom: #ccc480;
$custom-light: #dcd5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc480",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 128
  },
  "hsl": {
    "h": 53.684,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8112,
    "c": 0.08852,
    "h": 102.4
  },
  "luminance": 0.53876
}

Semantic roles & 50–950 ramp

primary
#CCC480
secondary
#545C9C
accent
#3EB630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC480

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

Preview Lab → · Contrast checker → · Palette generator →

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