#CCCA88#CCCA88

#CCCA88 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.086 H 106.7°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CCCA88
RGBrgb(204, 202, 136)
HSLhsl(58, 40%, 67%)
HSVhsv(58, 33%, 80%)
CMYKcmyk(0%, 1%, 33.3%, 20%)
CIE-LABlab(80.10, -9.34, 33.27)
CIE-LCHlch(80.10, 34.55, 105.68°)
OKLaboklab(82.52% -0.0246 0.0824)
OKLCHoklch(82.52% 0.086 106.7)
XYZxyz(50.4668, 56.8570, 31.6038)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA88 #888ACC
analogous
#CCA888 #CCCA88 #ACCC88
triadic
#CCCA88 #88CCCA #CA88CC
tetradic
#CCCA88 #88CCA8 #888ACC #CC88AC
square
#CCCA88 #88CCA8 #888ACC #CC88AC
split-complementary
#CCCA88 #88ACCC #A888CC
monochromatic
#989641 #BAB75D #CCCA88 #DEDDB3 #F1F0DE

Accessibility & contrast

On white

1.70
#CCCA88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CCCA88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA88
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA88#FFFFFF#000000##000000
##CCCA881.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C583
Deuteranopia (green-blind)
#D6C88B
Tritanopia (blue-blind)
#D5C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca88;
/* rgb */ color: rgb(204, 202, 136);
/* oklch */ color: oklch(82.5% 0.086 106.7);
Tailwind
colors: {
  custom: {
    50: '#dcdaab',
    500: '#ccca88',
    950: '#000000',
  },
}
SCSS
$custom: #ccca88;
$custom-light: #dcdaab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca88",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 136
  },
  "hsl": {
    "h": 58.235,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82516,
    "c": 0.08597,
    "h": 106.7
  },
  "luminance": 0.56856
}

Semantic roles & 50–950 ramp

primary
#CCCA88
secondary
#595B9F
accent
#36B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA88

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

Preview Lab → · Contrast checker → · Palette generator →

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