#CCCC8A#CCCC8A

#CCCC8A is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.086 H 108.1°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CCCC8A
RGBrgb(204, 204, 138)
HSLhsl(60, 39%, 67%)
HSVhsv(60, 32%, 80%)
CMYKcmyk(0%, 0%, 32.4%, 20%)
CIE-LABlab(80.66, -10.12, 32.97)
CIE-LCHlch(80.66, 34.49, 107.06°)
OKLaboklab(82.97% -0.0268 0.0817)
OKLCHoklch(82.97% 0.086 108.1)
XYZxyz(51.0825, 57.8590, 32.5168)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC8A #8A8ACC
analogous
#CCAB8A #CCCC8A #ABCC8A
triadic
#CCCC8A #8ACCCC #CC8ACC
tetradic
#CCCC8A #8ACCAB #8A8ACC #CC8AAB
square
#CCCC8A #8ACCAB #8A8ACC #CC8AAB
split-complementary
#CCCC8A #8AABCC #AB8ACC
monochromatic
#999943 #B9B95F #CCCC8A #DFDFB5 #F1F1DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC8A#FFFFFF#000000##000000
##CCCC8A1.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)
#D6C785
Deuteranopia (green-blind)
#D8C98D
Tritanopia (blue-blind)
#D5C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc8a;
/* rgb */ color: rgb(204, 204, 138);
/* oklch */ color: oklch(83.0% 0.086 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcdbad',
    500: '#cccc8a',
    950: '#000000',
  },
}
SCSS
$custom: #cccc8a;
$custom-light: #dcdbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc8a",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82972,
    "c": 0.086,
    "h": 108.1
  },
  "luminance": 0.57858
}

Semantic roles & 50–950 ramp

primary
#CCCC8A
secondary
#5B5BA0
accent
#33B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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