#CCCC88#CCCC88

#CCCC88 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.088 H 108.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CCCC88
RGBrgb(204, 204, 136)
HSLhsl(60, 40%, 67%)
HSVhsv(60, 33%, 80%)
CMYKcmyk(0%, 0%, 33.3%, 20%)
CIE-LABlab(80.63, -10.36, 33.96)
CIE-LCHlch(80.63, 35.51, 106.97°)
OKLaboklab(82.94% -0.0276 0.084)
OKLCHoklch(82.94% 0.088 108.2)
XYZxyz(50.9391, 57.8016, 31.7612)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC88 #8888CC
analogous
#CCAA88 #CCCC88 #AACC88
triadic
#CCCC88 #88CCCC #CC88CC
tetradic
#CCCC88 #88CCAA #8888CC #CC88AA
square
#CCCC88 #88CCAA #8888CC #CC88AA
split-complementary
#CCCC88 #88AACC #AA88CC
monochromatic
#989841 #BABA5D #CCCC88 #DEDEB3 #F1F1DE

Accessibility & contrast

On white

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

On black

12.56
#CCCC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC88
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC88#FFFFFF#000000##000000
##CCCC881.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C783
Deuteranopia (green-blind)
#D8C98B
Tritanopia (blue-blind)
#D5C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc88;
/* rgb */ color: rgb(204, 204, 136);
/* oklch */ color: oklch(82.9% 0.088 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcdbab',
    500: '#cccc88',
    950: '#000000',
  },
}
SCSS
$custom: #cccc88;
$custom-light: #dcdbab;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc88",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 136
  },
  "hsl": {
    "h": 60,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82936,
    "c": 0.08838,
    "h": 108.2
  },
  "luminance": 0.57801
}

Semantic roles & 50–950 ramp

primary
#CCCC88
secondary
#59599F
accent
#32B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC88

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

Preview Lab → · Contrast checker → · Palette generator →

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