#CCCC76#CCCC76

#CCCC76 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.109 H 108.6°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CCCC76
RGBrgb(204, 204, 118)
HSLhsl(60, 46%, 63%)
HSVhsv(60, 42%, 80%)
CMYKcmyk(0%, 0%, 42.2%, 20%)
CIE-LABlab(80.37, -12.38, 42.74)
CIE-LCHlch(80.37, 44.49, 106.15°)
OKLaboklab(82.64% -0.0346 0.1032)
OKLCHoklch(82.64% 0.109 108.6)
XYZxyz(49.7655, 57.3322, 25.5807)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC76 #7676CC
analogous
#CCA176 #CCCC76 #A1CC76
triadic
#CCCC76 #76CCCC #CC76CC
tetradic
#CCCC76 #76CCA1 #7676CC #CC76A1
square
#CCCC76 #76CCA1 #7676CC #CC76A1
split-complementary
#CCCC76 #76A1CC #A176CC
monochromatic
#919136 #BBBB49 #CCCC76 #DDDDA3 #EDEDCF

Accessibility & contrast

On white

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

On black

12.47
#CCCC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC76
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC76#FFFFFF#000000##000000
##CCCC761.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66F
Deuteranopia (green-blind)
#DAC97A
Tritanopia (blue-blind)
#D7C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc76;
/* rgb */ color: rgb(204, 204, 118);
/* oklch */ color: oklch(82.6% 0.109 108.6);
Tailwind
colors: {
  custom: {
    50: '#dddb9f',
    500: '#cccc76',
    950: '#000000',
  },
}
SCSS
$custom: #cccc76;
$custom-light: #dddb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc76",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 60,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82642,
    "c": 0.10883,
    "h": 108.6
  },
  "luminance": 0.57331
}

Semantic roles & 50–950 ramp

primary
#CCCC76
secondary
#4E4E98
accent
#2DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCC76

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

Preview Lab → · Contrast checker → · Palette generator →

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