#CCC577#CCC577

#CCC577 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.100 H 103.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CCC577
RGBrgb(204, 197, 119)
HSLhsl(55, 45%, 63%)
HSVhsv(55, 42%, 80%)
CMYKcmyk(0%, 3.4%, 41.7%, 20%)
CIE-LABlab(78.52, -8.70, 39.93)
CIE-LCHlch(78.52, 40.86, 102.29°)
OKLaboklab(81.18% -0.024 0.0969)
OKLCHoklch(81.18% 0.1 103.9)
XYZxyz(48.1988, 54.1031, 25.3531)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC577 #777ECC
analogous
#CC9A77 #CCC577 #A8CC77
triadic
#CCC577 #77CCC5 #C577CC
tetradic
#CCC577 #77CC9A #777ECC #CC77A8
square
#CCC577 #77CC9A #777ECC #CC77A8
split-complementary
#CCC577 #77A8CC #9A77CC
monochromatic
#928A37 #BBB24A #CCC577 #DDD8A4 #EDEBD0

Accessibility & contrast

On white

1.78
#CCC577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CCC577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC577
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC577#FFFFFF#000000##000000
##CCC5771.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C071
Deuteranopia (green-blind)
#D4C47A
Tritanopia (blue-blind)
#D7BBB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc577;
/* rgb */ color: rgb(204, 197, 119);
/* oklch */ color: oklch(81.2% 0.100 103.9);
Tailwind
colors: {
  custom: {
    50: '#ddd69f',
    500: '#ccc577',
    950: '#000000',
  },
}
SCSS
$custom: #ccc577;
$custom-light: #ddd69f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc577",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 55.059,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81181,
    "c": 0.09983,
    "h": 103.9
  },
  "luminance": 0.54102
}

Semantic roles & 50–950 ramp

primary
#CCC577
secondary
#4F5598
accent
#38B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC577

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

Preview Lab → · Contrast checker → · Palette generator →

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