#CCC778#CCC778

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

Color values

HEX#CCC778
RGBrgb(204, 199, 120)
HSLhsl(56, 45%, 64%)
HSVhsv(56, 41%, 80%)
CMYKcmyk(0%, 2.5%, 41.2%, 20%)
CIE-LABlab(79.07, -9.62, 40.11)
CIE-LCHlch(79.07, 41.24, 103.49°)
OKLaboklab(81.62% -0.0266 0.0974)
OKLCHoklch(81.62% 0.101 105.3)
XYZxyz(48.7163, 55.0415, 25.8235)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC778 #787DCC
analogous
#CC9D78 #CCC778 #A7CC78
triadic
#CCC778 #78CCC7 #C778CC
tetradic
#CCC778 #78CC9D #787DCC #CC78A7
square
#CCC778 #78CC9D #787DCC #CC78A7
split-complementary
#CCC778 #78A7CC #9D78CC
monochromatic
#928D37 #BBB54C #CCC778 #DDD9A4 #EEECD1

Accessibility & contrast

On white

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

On black

12.01
#CCC778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC778
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC778#FFFFFF#000000##000000
##CCC7781.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc778;
/* rgb */ color: rgb(204, 199, 120);
/* oklch */ color: oklch(81.6% 0.101 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd7a0',
    500: '#ccc778',
    950: '#000000',
  },
}
SCSS
$custom: #ccc778;
$custom-light: #ddd7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc778",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 56.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81617,
    "c": 0.10092,
    "h": 105.3
  },
  "luminance": 0.5504
}

Semantic roles & 50–950 ramp

primary
#CCC778
secondary
#4F5499
accent
#35B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC778

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

Preview Lab → · Contrast checker → · Palette generator →

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