#CCC77A#CCC77A

#CCC77A is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.099 H 105.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CCC77A
RGBrgb(204, 199, 122)
HSLhsl(56, 45%, 64%)
HSVhsv(56, 40%, 80%)
CMYKcmyk(0%, 2.5%, 40.2%, 20%)
CIE-LABlab(79.09, -9.41, 39.13)
CIE-LCHlch(79.09, 40.25, 103.52°)
OKLaboklab(81.65% -0.0258 0.0953)
OKLCHoklch(81.65% 0.099 105.2)
XYZxyz(48.8389, 55.0905, 26.4694)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC77A #7A7FCC
analogous
#CC9E7A #CCC77A #A8CC7A
triadic
#CCC77A #7ACCC7 #C77ACC
tetradic
#CCC77A #7ACC9E #7A7FCC #CC7AA8
square
#CCC77A #7ACC9E #7A7FCC #CC7AA8
split-complementary
#CCC77A #7AA8CC #9E7ACC
monochromatic
#938E38 #BBB44E #CCC77A #DDDAA6 #EEECD2

Accessibility & contrast

On white

1.75
#CCC77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CCC77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC77A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC77A#FFFFFF#000000##000000
##CCC77A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C274
Deuteranopia (green-blind)
#D6C67D
Tritanopia (blue-blind)
#D7BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc77a;
/* rgb */ color: rgb(204, 199, 122);
/* oklch */ color: oklch(81.6% 0.099 105.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#ccc77a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc77a;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc77a",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 122
  },
  "hsl": {
    "h": 56.341,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81649,
    "c": 0.09869,
    "h": 105.2
  },
  "luminance": 0.55089
}

Semantic roles & 50–950 ramp

primary
#CCC77A
secondary
#51559A
accent
#36B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC77A

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

Preview Lab → · Contrast checker → · Palette generator →

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