#CCCC7C#CCCC7C

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

Color values

HEX#CCCC7C
RGBrgb(204, 204, 124)
HSLhsl(60, 44%, 64%)
HSVhsv(60, 39%, 80%)
CMYKcmyk(0%, 0%, 39.2%, 20%)
CIE-LABlab(80.45, -11.74, 39.84)
CIE-LCHlch(80.45, 41.53, 106.42°)
OKLaboklab(82.73% -0.0323 0.097)
OKLCHoklch(82.73% 0.102 108.4)
XYZxyz(50.1335, 57.4793, 27.5185)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC7C #7C7CCC
analogous
#CCA47C #CCCC7C #A4CC7C
triadic
#CCCC7C #7CCCCC #CC7CCC
tetradic
#CCCC7C #7CCCA4 #7C7CCC #CC7CA4
square
#CCCC7C #7CCCA4 #7C7CCC #CC7CA4
split-complementary
#CCCC7C #7CA4CC #A47CCC
monochromatic
#94943A #BBBB50 #CCCC7C #DDDDA8 #EEEED4

Accessibility & contrast

On white

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

On black

12.50
#CCCC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC7C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC7C#FFFFFF#000000##000000
##CCCC7C1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C676
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D6C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc7c;
/* rgb */ color: rgb(204, 204, 124);
/* oklch */ color: oklch(82.7% 0.102 108.4);
Tailwind
colors: {
  custom: {
    50: '#dddba3',
    500: '#cccc7c',
    950: '#000000',
  },
}
SCSS
$custom: #cccc7c;
$custom-light: #dddba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc7c",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 60,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82734,
    "c": 0.10222,
    "h": 108.4
  },
  "luminance": 0.57478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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