#CCC960#CCC960

#CCC960 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.128 H 107.4°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CCC960
RGBrgb(204, 201, 96)
HSLhsl(58, 51%, 59%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 1.5%, 52.9%, 20%)
CIE-LABlab(79.30, -12.89, 52.08)
CIE-LCHlch(79.30, 53.65, 103.91°)
OKLaboklab(81.71% -0.0383 0.1219)
OKLCHoklch(81.71% 0.128 107.4)
XYZxyz(47.9011, 55.4565, 19.2450)
Luminance0.5545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC960 #6063CC
analogous
#CC9360 #CCC960 #99CC60
triadic
#CCC960 #60CCC9 #C960CC
tetradic
#CCC960 #60CC93 #6063CC #CC6099
square
#CCC960 #60CC93 #6063CC #CC6099
split-complementary
#CCC960 #6099CC #9360CC
monochromatic
#86842B #B5B13A #CCC960 #DBD98E #EAE8BD

Accessibility & contrast

On white

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

On black

12.09
#CCC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC960
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC960#FFFFFF#000000##000000
##CCC9601.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C256
Deuteranopia (green-blind)
#DAC665
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc960;
/* rgb */ color: rgb(204, 201, 96);
/* oklch */ color: oklch(81.7% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded990',
    500: '#ccc960',
    950: '#000000',
  },
}
SCSS
$custom: #ccc960;
$custom-light: #ded990;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc960",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 58.333,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81711,
    "c": 0.12778,
    "h": 107.4
  },
  "luminance": 0.55455
}

Semantic roles & 50–950 ramp

primary
#CCC960
secondary
#43458E
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC960

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

Preview Lab → · Contrast checker → · Palette generator →

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