#CCCA63#CCCA63

#CCCA63 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.126 H 107.9°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CCCA63
RGBrgb(204, 202, 99)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 51%, 80%)
CMYKcmyk(0%, 1%, 51.5%, 20%)
CIE-LABlab(79.60, -13.15, 51.02)
CIE-LCHlch(79.60, 52.69, 104.45°)
OKLaboklab(81.96% -0.0387 0.1199)
OKLCHoklch(81.96% 0.126 107.9)
XYZxyz(48.2757, 55.9805, 20.0643)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA63 #6365CC
analogous
#CC9663 #CCCA63 #9ACC63
triadic
#CCCA63 #63CCCA #CA63CC
tetradic
#CCCA63 #63CC96 #6365CC #CC639A
square
#CCCA63 #63CC96 #6365CC #CC639A
split-complementary
#CCCA63 #639ACC #9663CC
monochromatic
#88862C #B6B43C #CCCA63 #DBDA91 #EAE9BF

Accessibility & contrast

On white

1.72
#CCCA63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CCCA63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA63
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA63#FFFFFF#000000##000000
##CCCA631.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C359
Deuteranopia (green-blind)
#DAC768
Tritanopia (blue-blind)
#D9BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca63;
/* rgb */ color: rgb(204, 202, 99);
/* oklch */ color: oklch(82.0% 0.126 107.9);
Tailwind
colors: {
  custom: {
    50: '#deda92',
    500: '#ccca63',
    950: '#000000',
  },
}
SCSS
$custom: #ccca63;
$custom-light: #deda92;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca63",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 99
  },
  "hsl": {
    "h": 58.857,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8196,
    "c": 0.12601,
    "h": 107.9
  },
  "luminance": 0.55979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCA63

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

Preview Lab → · Contrast checker → · Palette generator →

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