#CCCA96#CCCA96

#CCCA96 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.069 H 106.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CCCA96
RGBrgb(204, 202, 150)
HSLhsl(58, 35%, 69%)
HSVhsv(58, 26%, 80%)
CMYKcmyk(0%, 1%, 26.5%, 20%)
CIE-LABlab(80.34, -7.55, 26.30)
CIE-LCHlch(80.34, 27.36, 106.02°)
OKLaboklab(82.78% -0.0189 0.0662)
OKLCHoklch(82.78% 0.069 106)
XYZxyz(51.5275, 57.2813, 37.1902)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA96 #9698CC
analogous
#CCAF96 #CCCA96 #B3CC96
triadic
#CCCA96 #96CCCA #CA96CC
tetradic
#CCCA96 #96CCAF #9698CC #CC96B3
square
#CCCA96 #96CCAF #9698CC #CC96B3
split-complementary
#CCCA96 #96B3CC #AF96CC
monochromatic
#9C994C #B8B56D #CCCA96 #E0DFBF #F4F4E8

Accessibility & contrast

On white

1.69
#CCCA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CCCA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA96
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA96#FFFFFF#000000##000000
##CCCA961.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C693
Deuteranopia (green-blind)
#D4C898
Tritanopia (blue-blind)
#D4C3BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca96;
/* rgb */ color: rgb(204, 202, 150);
/* oklch */ color: oklch(82.8% 0.069 106.0);
Tailwind
colors: {
  custom: {
    50: '#dcdab5',
    500: '#ccca96',
    950: '#000000',
  },
}
SCSS
$custom: #ccca96;
$custom-light: #dcdab5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca96",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 150
  },
  "hsl": {
    "h": 57.778,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82783,
    "c": 0.06888,
    "h": 106
  },
  "luminance": 0.5728
}

Semantic roles & 50–950 ramp

primary
#CCCA96
secondary
#6567A1
accent
#3CAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA96

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

Preview Lab → · Contrast checker → · Palette generator →

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