#CCC663#CCC663

#CCC663 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.122 H 105.7°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CCC663
RGBrgb(204, 198, 99)
HSLhsl(57, 51%, 59%)
HSVhsv(57, 51%, 80%)
CMYKcmyk(0%, 2.9%, 51.5%, 20%)
CIE-LABlab(78.54, -11.12, 49.77)
CIE-LCHlch(78.54, 51.00, 102.59°)
OKLaboklab(81.11% -0.0329 0.1172)
OKLCHoklch(81.11% 0.122 105.7)
XYZxyz(47.3493, 54.1278, 19.7555)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC663 #6369CC
analogous
#CC9163 #CCC663 #9ECC63
triadic
#CCC663 #63CCC6 #C663CC
tetradic
#CCC663 #63CC91 #6369CC #CC639E
square
#CCC663 #63CC91 #6369CC #CC639E
split-complementary
#CCC663 #639ECC #9163CC
monochromatic
#88832C #B6AF3C #CCC663 #DBD791 #EAE8BF

Accessibility & contrast

On white

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

On black

11.83
#CCC663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC663
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC663#FFFFFF#000000##000000
##CCC6631.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05A
Deuteranopia (green-blind)
#D7C468
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc663;
/* rgb */ color: rgb(204, 198, 99);
/* oklch */ color: oklch(81.1% 0.122 105.7);
Tailwind
colors: {
  custom: {
    50: '#ded792',
    500: '#ccc663',
    950: '#000000',
  },
}
SCSS
$custom: #ccc663;
$custom-light: #ded792;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc663",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 56.571,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81111,
    "c": 0.12173,
    "h": 105.7
  },
  "luminance": 0.54126
}

Semantic roles & 50–950 ramp

primary
#CCC663
secondary
#44488F
accent
#56DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC663

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

Preview Lab → · Contrast checker → · Palette generator →

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