#CCCC7D#CCCC7D

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

Color values

HEX#CCCC7D
RGBrgb(204, 204, 125)
HSLhsl(60, 44%, 65%)
HSVhsv(60, 39%, 80%)
CMYKcmyk(0%, 0%, 38.7%, 20%)
CIE-LABlab(80.46, -11.63, 39.35)
CIE-LCHlch(80.46, 41.04, 106.46°)
OKLaboklab(82.75% -0.0319 0.0959)
OKLCHoklch(82.75% 0.101 108.4)
XYZxyz(50.1971, 57.5048, 27.8533)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC7D #7D7DCC
analogous
#CCA57D #CCCC7D #A5CC7D
triadic
#CCCC7D #7DCCCC #CC7DCC
tetradic
#CCCC7D #7DCCA5 #7D7DCC #CC7DA5
square
#CCCC7D #7DCCA5 #7D7DCC #CC7DA5
split-complementary
#CCCC7D #7DA5CC #A57DCC
monochromatic
#94943A #BBBB51 #CCCC7D #DDDDA9 #EEEED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC7D#FFFFFF#000000##000000
##CCCC7D1.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)
#D8C677
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D6C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc7d;
/* rgb */ color: rgb(204, 204, 125);
/* oklch */ color: oklch(82.8% 0.101 108.4);
Tailwind
colors: {
  custom: {
    50: '#dddba4',
    500: '#cccc7d',
    950: '#000000',
  },
}
SCSS
$custom: #cccc7d;
$custom-light: #dddba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc7d",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8275,
    "c": 0.1011,
    "h": 108.4
  },
  "luminance": 0.57504
}

Semantic roles & 50–950 ramp

primary
#CCCC7D
secondary
#52529B
accent
#2FB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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