#CCC780#CCC780

#CCC780 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.092 H 104.8°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CCC780
RGBrgb(204, 199, 128)
HSLhsl(56, 43%, 65%)
HSVhsv(56, 37%, 80%)
CMYKcmyk(0%, 2.5%, 37.3%, 20%)
CIE-LABlab(79.18, -8.74, 36.19)
CIE-LCHlch(79.18, 37.23, 103.58°)
OKLaboklab(81.75% -0.0234 0.0888)
OKLCHoklch(81.75% 0.092 104.8)
XYZxyz(49.2222, 55.2439, 28.4881)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC780 #8085CC
analogous
#CCA180 #CCC780 #ABCC80
triadic
#CCC780 #80CCC7 #C780CC
tetradic
#CCC780 #80CCA1 #8085CC #CC80AB
square
#CCC780 #80CCA1 #8085CC #CC80AB
split-complementary
#CCC780 #80ABCC #A180CC
monochromatic
#96903C #BAB454 #CCC780 #DEDAAC #EFEED7

Accessibility & contrast

On white

1.74
#CCC780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CCC780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC780
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC780#FFFFFF#000000##000000
##CCC7801.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27B
Deuteranopia (green-blind)
#D5C683
Tritanopia (blue-blind)
#D6BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc780;
/* rgb */ color: rgb(204, 199, 128);
/* oklch */ color: oklch(81.7% 0.092 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcd7a5',
    500: '#ccc780',
    950: '#000000',
  },
}
SCSS
$custom: #ccc780;
$custom-light: #dcd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc780",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 56.053,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81747,
    "c": 0.09185,
    "h": 104.8
  },
  "luminance": 0.55243
}

Semantic roles & 50–950 ramp

primary
#CCC780
secondary
#54599C
accent
#39B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC780

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

Preview Lab → · Contrast checker → · Palette generator →

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