#CCC963#CCC963

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

Color values

HEX#CCC963
RGBrgb(204, 201, 99)
HSLhsl(58, 51%, 59%)
HSVhsv(58, 51%, 80%)
CMYKcmyk(0%, 1.5%, 51.5%, 20%)
CIE-LABlab(79.34, -12.64, 50.71)
CIE-LCHlch(79.34, 52.26, 104.00°)
OKLaboklab(81.75% -0.0372 0.1193)
OKLCHoklch(81.75% 0.125 107.3)
XYZxyz(48.0418, 55.5128, 19.9863)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC963 #6366CC
analogous
#CC9563 #CCC963 #9BCC63
triadic
#CCC963 #63CCC9 #C963CC
tetradic
#CCC963 #63CC95 #6366CC #CC639B
square
#CCC963 #63CC95 #6366CC #CC639B
split-complementary
#CCC963 #639BCC #9563CC
monochromatic
#88852C #B6B33C #CCC963 #DBD991 #EAE9BF

Accessibility & contrast

On white

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

On black

12.10
#CCC963 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC963
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC963#FFFFFF#000000##000000
##CCC9631.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C259
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#D9BEB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc963;
/* rgb */ color: rgb(204, 201, 99);
/* oklch */ color: oklch(81.7% 0.125 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded992',
    500: '#ccc963',
    950: '#000000',
  },
}
SCSS
$custom: #ccc963;
$custom-light: #ded992;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc963",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 99
  },
  "hsl": {
    "h": 58.286,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81747,
    "c": 0.12493,
    "h": 107.3
  },
  "luminance": 0.55512
}

Semantic roles & 50–950 ramp

primary
#CCC963
secondary
#44468F
accent
#52DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC963

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

Preview Lab → · Contrast checker → · Palette generator →

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