#CCCA99#CCCA99

#CCCA99 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.065 H 105.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CCCA99
RGBrgb(204, 202, 153)
HSLhsl(58, 33%, 70%)
HSVhsv(58, 25%, 80%)
CMYKcmyk(0%, 1%, 25%, 20%)
CIE-LABlab(80.39, -7.14, 24.79)
CIE-LCHlch(80.39, 25.80, 106.07°)
OKLaboklab(82.84% -0.0177 0.0627)
OKLCHoklch(82.84% 0.065 105.8)
XYZxyz(51.7721, 57.3791, 38.4788)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA99 #999BCC
analogous
#CCB099 #CCCA99 #B5CC99
triadic
#CCCA99 #99CCCA #CA99CC
tetradic
#CCCA99 #99CCB0 #999BCC #CC99B5
square
#CCCA99 #99CCB0 #999BCC #CC99B5
split-complementary
#CCCA99 #99B5CC #B099CC
monochromatic
#9C994E #B8B570 #CCCA99 #E0DFC2 #F5F4EB

Accessibility & contrast

On white

1.68
#CCCA99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CCCA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA99
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA99#FFFFFF#000000##000000
##CCCA991.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C696
Deuteranopia (green-blind)
#D4C99B
Tritanopia (blue-blind)
#D4C4BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca99;
/* rgb */ color: rgb(204, 202, 153);
/* oklch */ color: oklch(82.8% 0.065 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcdab7',
    500: '#ccca99',
    950: '#000000',
  },
}
SCSS
$custom: #ccca99;
$custom-light: #dcdab7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca99",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 153
  },
  "hsl": {
    "h": 57.647,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.82844,
    "c": 0.06511,
    "h": 105.8
  },
  "luminance": 0.57378
}

Semantic roles & 50–950 ramp

primary
#CCCA99
secondary
#686AA1
accent
#3EAC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA99

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

Preview Lab → · Contrast checker → · Palette generator →

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