#CCCC77#CCCC77

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

Color values

HEX#CCCC77
RGBrgb(204, 204, 119)
HSLhsl(60, 45%, 63%)
HSVhsv(60, 42%, 80%)
CMYKcmyk(0%, 0%, 41.7%, 20%)
CIE-LABlab(80.38, -12.27, 42.26)
CIE-LCHlch(80.38, 44.00, 106.19°)
OKLaboklab(82.66% -0.0343 0.1022)
OKLCHoklch(82.66% 0.108 108.5)
XYZxyz(49.8253, 57.3561, 25.8953)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC77 #7777CC
analogous
#CCA177 #CCCC77 #A1CC77
triadic
#CCCC77 #77CCCC #CC77CC
tetradic
#CCCC77 #77CCA1 #7777CC #CC77A1
square
#CCCC77 #77CCA1 #7777CC #CC77A1
split-complementary
#CCCC77 #77A1CC #A177CC
monochromatic
#929237 #BBBB4A #CCCC77 #DDDDA4 #EDEDD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC77#FFFFFF#000000##000000
##CCCC771.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)
#D8C670
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#D7C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc77;
/* rgb */ color: rgb(204, 204, 119);
/* oklch */ color: oklch(82.7% 0.108 108.5);
Tailwind
colors: {
  custom: {
    50: '#dddb9f',
    500: '#cccc77',
    950: '#000000',
  },
}
SCSS
$custom: #cccc77;
$custom-light: #dddb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc77",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 60,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82657,
    "c": 0.10774,
    "h": 108.5
  },
  "luminance": 0.57355
}

Semantic roles & 50–950 ramp

primary
#CCCC77
secondary
#4F4F98
accent
#2DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCC77

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

Preview Lab → · Contrast checker → · Palette generator →

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