#CCC776#CCC776

#CCC776 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.103 H 105.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CCC776
RGBrgb(204, 199, 118)
HSLhsl(57, 46%, 63%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2.5%, 42.2%, 20%)
CIE-LABlab(79.04, -9.83, 41.08)
CIE-LCHlch(79.04, 42.24, 103.46°)
OKLaboklab(81.59% -0.0273 0.0994)
OKLCHoklch(81.59% 0.103 105.4)
XYZxyz(48.5962, 54.9934, 25.1909)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC776 #767BCC
analogous
#CC9C76 #CCC776 #A6CC76
triadic
#CCC776 #76CCC7 #C776CC
tetradic
#CCC776 #76CC9C #767BCC #CC76A6
square
#CCC776 #76CC9C #767BCC #CC76A6
split-complementary
#CCC776 #76A6CC #9C76CC
monochromatic
#918C36 #BBB549 #CCC776 #DDD9A3 #EDEBCF

Accessibility & contrast

On white

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

On black

12.00
#CCC776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC776
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC776#FFFFFF#000000##000000
##CCC7761.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C170
Deuteranopia (green-blind)
#D6C67A
Tritanopia (blue-blind)
#D7BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc776;
/* rgb */ color: rgb(204, 199, 118);
/* oklch */ color: oklch(81.6% 0.103 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd79f',
    500: '#ccc776',
    950: '#000000',
  },
}
SCSS
$custom: #ccc776;
$custom-light: #ddd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc776",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 118
  },
  "hsl": {
    "h": 56.512,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.10313,
    "h": 105.4
  },
  "luminance": 0.54992
}

Semantic roles & 50–950 ramp

primary
#CCC776
secondary
#4E5398
accent
#35B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC776

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

Preview Lab → · Contrast checker → · Palette generator →

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