#CCC477#CCC477

#CCC477 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.099 H 103.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CCC477
RGBrgb(204, 196, 119)
HSLhsl(54, 45%, 63%)
HSVhsv(54, 42%, 80%)
CMYKcmyk(0%, 3.9%, 41.7%, 20%)
CIE-LABlab(78.26, -8.19, 39.59)
CIE-LCHlch(78.26, 40.43, 101.68°)
OKLaboklab(80.97% -0.0225 0.0961)
OKLCHoklch(80.97% 0.099 103.2)
XYZxyz(47.9725, 53.6504, 25.2777)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC477 #777FCC
analogous
#CC9977 #CCC477 #A9CC77
triadic
#CCC477 #77CCC4 #C477CC
tetradic
#CCC477 #77CC99 #777FCC #CC77A9
square
#CCC477 #77CC99 #777FCC #CC77A9
split-complementary
#CCC477 #77A9CC #9977CC
monochromatic
#928937 #BBB14A #CCC477 #DDD7A4 #EDEBD0

Accessibility & contrast

On white

1.79
#CCC477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CCC477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC477
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC477#FFFFFF#000000##000000
##CCC4771.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF71
Deuteranopia (green-blind)
#D3C47A
Tritanopia (blue-blind)
#D7BAB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc477;
/* rgb */ color: rgb(204, 196, 119);
/* oklch */ color: oklch(81.0% 0.099 103.2);
Tailwind
colors: {
  custom: {
    50: '#ddd59f',
    500: '#ccc477',
    950: '#000000',
  },
}
SCSS
$custom: #ccc477;
$custom-light: #ddd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc477",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 54.353,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80972,
    "c": 0.09874,
    "h": 103.2
  },
  "luminance": 0.53649
}

Semantic roles & 50–950 ramp

primary
#CCC477
secondary
#4F5698
accent
#3AB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC477

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

Preview Lab → · Contrast checker → · Palette generator →

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