#CCCB99#CCCB99

#CCCB99 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.066 H 106.8°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CCCB99
RGBrgb(204, 203, 153)
HSLhsl(59, 33%, 70%)
HSVhsv(59, 25%, 80%)
CMYKcmyk(0%, 0.5%, 25%, 20%)
CIE-LABlab(80.66, -7.66, 25.15)
CIE-LCHlch(80.66, 26.29, 106.94°)
OKLaboklab(83.05% -0.0192 0.0635)
OKLCHoklch(83.05% 0.066 106.8)
XYZxyz(52.0075, 57.8499, 38.5572)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB99 #999ACC
analogous
#CCB299 #CCCB99 #B3CC99
triadic
#CCCB99 #99CCCB #CB99CC
tetradic
#CCCB99 #99CCB2 #999ACC #CC99B3
square
#CCCB99 #99CCB2 #999ACC #CC99B3
split-complementary
#CCCB99 #99B3CC #B299CC
monochromatic
#9C9B4E #B8B670 #CCCB99 #E0E0C2 #F5F5EB

Accessibility & contrast

On white

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

On black

12.57
#CCCB99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB99
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB99#FFFFFF#000000##000000
##CCCB991.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C796
Deuteranopia (green-blind)
#D5C99B
Tritanopia (blue-blind)
#D4C5BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccb99;
/* rgb */ color: rgb(204, 203, 153);
/* oklch */ color: oklch(83.1% 0.066 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcdab7',
    500: '#cccb99',
    950: '#000000',
  },
}
SCSS
$custom: #cccb99;
$custom-light: #dcdab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb99",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 153
  },
  "hsl": {
    "h": 58.824,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.83052,
    "c": 0.06634,
    "h": 106.8
  },
  "luminance": 0.57849
}

Semantic roles & 50–950 ramp

primary
#CCCB99
secondary
#6869A1
accent
#3CAC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCB99

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

Preview Lab → · Contrast checker → · Palette generator →

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