#CCCC7B#CCCC7B

#CCCC7B is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.103 H 108.5°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CCCC7B
RGBrgb(204, 204, 123)
HSLhsl(60, 44%, 64%)
HSVhsv(60, 40%, 80%)
CMYKcmyk(0%, 0%, 39.7%, 20%)
CIE-LABlab(80.43, -11.85, 40.33)
CIE-LCHlch(80.43, 42.03, 106.37°)
OKLaboklab(82.72% -0.0327 0.098)
OKLCHoklch(82.72% 0.103 108.5)
XYZxyz(50.0706, 57.4542, 27.1872)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC7B #7B7BCC
analogous
#CCA47B #CCCC7B #A4CC7B
triadic
#CCCC7B #7BCCCC #CC7BCC
tetradic
#CCCC7B #7BCCA4 #7B7BCC #CC7BA4
square
#CCCC7B #7BCCA4 #7B7BCC #CC7BA4
split-complementary
#CCCC7B #7BA4CC #A47BCC
monochromatic
#949439 #BBBB4F #CCCC7B #DDDDA7 #EEEED3

Accessibility & contrast

On white

1.68
#CCCC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CCCC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC7B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC7B#FFFFFF#000000##000000
##CCCC7B1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C675
Deuteranopia (green-blind)
#D9C97F
Tritanopia (blue-blind)
#D7C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc7b;
/* rgb */ color: rgb(204, 204, 123);
/* oklch */ color: oklch(82.7% 0.103 108.5);
Tailwind
colors: {
  custom: {
    50: '#dddba2',
    500: '#cccc7b',
    950: '#000000',
  },
}
SCSS
$custom: #cccc7b;
$custom-light: #dddba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc7b",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82718,
    "c": 0.10334,
    "h": 108.5
  },
  "luminance": 0.57453
}

Semantic roles & 50–950 ramp

primary
#CCCC7B
secondary
#51519A
accent
#2EB72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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