#CCCC99#CCCC99

#CCCC99 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.3% C 0.068 H 107.8°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CCCC99
RGBrgb(204, 204, 153)
HSLhsl(60, 33%, 70%)
HSVhsv(60, 25%, 80%)
CMYKcmyk(0%, 0%, 25%, 20%)
CIE-LABlab(80.92, -8.17, 25.51)
CIE-LCHlch(80.92, 26.79, 107.77°)
OKLaboklab(83.26% -0.0207 0.0644)
OKLCHoklch(83.26% 0.068 107.8)
XYZxyz(52.2444, 58.3237, 38.6362)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC99 #9999CC
analogous
#CCB399 #CCCC99 #B3CC99
triadic
#CCCC99 #99CCCC #CC99CC
tetradic
#CCCC99 #99CCB3 #9999CC #CC99B3
square
#CCCC99 #99CCB3 #9999CC #CC99B3
split-complementary
#CCCC99 #99B2CC #B299CC
monochromatic
#9C9C4E #B8B870 #CCCC99 #E0E0C2 #F5F5EB

Accessibility & contrast

On white

1.66
#CCCC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CCCC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC99
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC99#FFFFFF#000000##000000
##CCCC991.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C896
Deuteranopia (green-blind)
#D5CA9B
Tritanopia (blue-blind)
#D3C6BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccc99;
/* rgb */ color: rgb(204, 204, 153);
/* oklch */ color: oklch(83.3% 0.068 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcdbb7',
    500: '#cccc99',
    950: '#000000',
  },
}
SCSS
$custom: #cccc99;
$custom-light: #dcdbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc99",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.83261,
    "c": 0.0676,
    "h": 107.8
  },
  "luminance": 0.58323
}

Semantic roles & 50–950 ramp

primary
#CCCC99
secondary
#6868A1
accent
#39AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCC99

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

Preview Lab → · Contrast checker → · Palette generator →

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