#CCCC91#CCCC91

#CCCC91 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.078 H 108.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CCCC91
RGBrgb(204, 204, 145)
HSLhsl(60, 37%, 68%)
HSVhsv(60, 29%, 80%)
CMYKcmyk(0%, 0%, 28.9%, 20%)
CIE-LABlab(80.78, -9.24, 29.50)
CIE-LCHlch(80.78, 30.91, 107.39°)
OKLaboklab(83.1% -0.0239 0.0738)
OKLCHoklch(83.1% 0.078 108)
XYZxyz(51.6057, 58.0682, 35.2723)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC91 #9191CC
analogous
#CCAE91 #CCCC91 #AECC91
triadic
#CCCC91 #91CCCC #CC91CC
tetradic
#CCCC91 #91CCAE #9191CC #CC91AE
square
#CCCC91 #91CCAE #9191CC #CC91AE
split-complementary
#CCCC91 #91AECC #AE91CC
monochromatic
#9B9B48 #B9B967 #CCCC91 #DFDFBB #F3F3E5

Accessibility & contrast

On white

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

On black

12.61
#CCCC91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC91
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC91#FFFFFF#000000##000000
##CCCC911.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C78D
Deuteranopia (green-blind)
#D7CA93
Tritanopia (blue-blind)
#D4C5BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc91;
/* rgb */ color: rgb(204, 204, 145);
/* oklch */ color: oklch(83.1% 0.078 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcdbb1',
    500: '#cccc91',
    950: '#000000',
  },
}
SCSS
$custom: #cccc91;
$custom-light: #dcdbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc91",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 145
  },
  "hsl": {
    "h": 60,
    "s": 36.646,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83102,
    "c": 0.07754,
    "h": 108
  },
  "luminance": 0.58067
}

Semantic roles & 50–950 ramp

primary
#CCCC91
secondary
#6060A1
accent
#36B036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151511
muted
#848481

Preview Lab

Preview with #CCCC91

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

Preview Lab → · Contrast checker → · Palette generator →

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