#CCCA6C#CCCA6C

#CCCA6C is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.117 H 107.6°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CCCA6C
RGBrgb(204, 202, 108)
HSLhsl(59, 48%, 61%)
HSVhsv(59, 47%, 80%)
CMYKcmyk(0%, 1%, 47.1%, 20%)
CIE-LABlab(79.71, -12.35, 46.84)
CIE-LCHlch(79.71, 48.44, 104.76°)
OKLaboklab(82.08% -0.0355 0.1116)
OKLCHoklch(82.08% 0.117 107.6)
XYZxyz(48.7302, 56.1623, 22.4579)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA6C #6C6ECC
analogous
#CC9A6C #CCCA6C #9ECC6C
triadic
#CCCA6C #6CCCCA #CA6CCC
tetradic
#CCCA6C #6CCC9A #6C6ECC #CC6C9E
square
#CCCA6C #6CCC9A #6C6ECC #CC6C9E
split-complementary
#CCCA6C #6C9ECC #9A6CCC
monochromatic
#8D8B31 #BAB841 #CCCA6C #DCDA99 #ECEBC7

Accessibility & contrast

On white

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

On black

12.23
#CCCA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA6C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA6C#FFFFFF#000000##000000
##CCCA6C1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C364
Deuteranopia (green-blind)
#D9C770
Tritanopia (blue-blind)
#D8C0B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca6c;
/* rgb */ color: rgb(204, 202, 108);
/* oklch */ color: oklch(82.1% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddda98',
    500: '#ccca6c',
    950: '#000000',
  },
}
SCSS
$custom: #ccca6c;
$custom-light: #ddda98;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca6c",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 58.75,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82076,
    "c": 0.11709,
    "h": 107.6
  },
  "luminance": 0.56161
}

Semantic roles & 50–950 ramp

primary
#CCCA6C
secondary
#494A93
accent
#2DBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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