#CCCAA2#CCCAA2

#CCCAA2 is a very light, muted yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.054 H 105.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CCCAA2
RGBrgb(204, 202, 162)
HSLhsl(57, 29%, 72%)
HSVhsv(57, 21%, 80%)
CMYKcmyk(0%, 1%, 20.6%, 20%)
CIE-LABlab(80.56, -5.87, 20.28)
CIE-LCHlch(80.56, 21.11, 106.14°)
OKLaboklab(83.04% -0.014 0.0518)
OKLCHoklch(83.04% 0.054 105.1)
XYZxyz(52.5437, 57.6877, 42.5423)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCAA2 #A2A4CC
analogous
#CCB5A2 #CCCAA2 #B9CCA2
triadic
#CCCAA2 #A2CCCA #CAA2CC
tetradic
#CCCAA2 #A2CCB5 #A2A4CC #CCA2B9
square
#CCCAA2 #A2CCB5 #A2A4CC #CCA2B9
split-complementary
#CCCAA2 #A2B9CC #B5A2CC
monochromatic
#9D9A56 #B6B37A #CCCAA2 #E2E1CA #F4F4EB

Accessibility & contrast

On white

1.67
#CCCAA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CCCAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCAA2
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCAA2#FFFFFF#000000##000000
##CCCAA21.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C7A0
Deuteranopia (green-blind)
#D2C9A3
Tritanopia (blue-blind)
#D3C5BF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccaa2;
/* rgb */ color: rgb(204, 202, 162);
/* oklch */ color: oklch(83.0% 0.054 105.1);
Tailwind
colors: {
  custom: {
    50: '#dcdabd',
    500: '#cccaa2',
    950: '#000000',
  },
}
SCSS
$custom: #cccaa2;
$custom-light: #dcdabd;
$custom-dark: #000000;
JSON
{
  "hex": "#cccaa2",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 162
  },
  "hsl": {
    "h": 57.143,
    "s": 29.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.83037,
    "c": 0.05361,
    "h": 105.1
  },
  "luminance": 0.57687
}

Semantic roles & 50–950 ramp

primary
#CCCAA2
secondary
#7173A1
accent
#43A83E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CCCAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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