#CCCC6F#CCCC6F

#CCCC6F is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.116 H 108.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CCCC6F
RGBrgb(204, 204, 111)
HSLhsl(60, 48%, 62%)
HSVhsv(60, 46%, 80%)
CMYKcmyk(0%, 0%, 45.6%, 20%)
CIE-LABlab(80.28, -13.07, 46.08)
CIE-LCHlch(80.28, 47.89, 105.84°)
OKLaboklab(82.54% -0.0373 0.1101)
OKLCHoklch(82.54% 0.116 108.7)
XYZxyz(49.3649, 57.1719, 23.4707)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC6F #6F6FCC
analogous
#CC9E6F #CCCC6F #9ECC6F
triadic
#CCCC6F #6FCCCC #CC6FCC
tetradic
#CCCC6F #6FCC9E #6F6FCC #CC6F9E
square
#CCCC6F #6FCC9E #6F6FCC #CC6F9E
split-complementary
#CCCC6F #6F9ECC #9E6FCC
monochromatic
#8E8E32 #BBBB42 #CCCC6F #DCDC9C #ECECC9

Accessibility & contrast

On white

1.69
#CCCC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CCCC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC6F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC6F#FFFFFF#000000##000000
##CCCC6F1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C567
Deuteranopia (green-blind)
#DBC973
Tritanopia (blue-blind)
#D8C2B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc6f;
/* rgb */ color: rgb(204, 204, 111);
/* oklch */ color: oklch(82.5% 0.116 108.7);
Tailwind
colors: {
  custom: {
    50: '#dddb9a',
    500: '#cccc6f',
    950: '#000000',
  },
}
SCSS
$custom: #cccc6f;
$custom-light: #dddb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc6f",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82541,
    "c": 0.11626,
    "h": 108.7
  },
  "luminance": 0.57171
}

Semantic roles & 50–950 ramp

primary
#CCCC6F
secondary
#4A4A95
accent
#2BBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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