#CCCC95#CCCC95

#CCCC95 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.073 H 107.9°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CCCC95
RGBrgb(204, 204, 149)
HSLhsl(60, 35%, 69%)
HSVhsv(60, 27%, 80%)
CMYKcmyk(0%, 0%, 27%, 20%)
CIE-LABlab(80.85, -8.71, 27.51)
CIE-LCHlch(80.85, 28.85, 107.58°)
OKLaboklab(83.18% -0.0223 0.0691)
OKLCHoklch(83.18% 0.073 107.9)
XYZxyz(51.9196, 58.1938, 36.9254)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC95 #9595CC
analogous
#CCB195 #CCCC95 #B1CC95
triadic
#CCCC95 #95CCCC #CC95CC
tetradic
#CCCC95 #95CCB1 #9595CC #CC95B1
square
#CCCC95 #95CCB1 #9595CC #CC95B1
split-complementary
#CCCC95 #95B1CC #B195CC
monochromatic
#9C9C4B #B8B86C #CCCC95 #E0E0BE #F4F4E8

Accessibility & contrast

On white

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

On black

12.64
#CCCC95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC95
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC95#FFFFFF#000000##000000
##CCCC951.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C791
Deuteranopia (green-blind)
#D6CA97
Tritanopia (blue-blind)
#D4C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccc95;
/* rgb */ color: rgb(204, 204, 149);
/* oklch */ color: oklch(83.2% 0.073 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcdbb4',
    500: '#cccc95',
    950: '#000000',
  },
}
SCSS
$custom: #cccc95;
$custom-light: #dcdbb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc95",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8318,
    "c": 0.0726,
    "h": 107.9
  },
  "luminance": 0.58193
}

Semantic roles & 50–950 ramp

primary
#CCCC95
secondary
#6464A1
accent
#38AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCC95

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

Preview Lab → · Contrast checker → · Palette generator →

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