#C7C778#C7C778

#C7C778 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.101 H 108.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#C7C778
RGBrgb(199, 199, 120)
HSLhsl(60, 41%, 63%)
HSVhsv(60, 40%, 78%)
CMYKcmyk(0%, 0%, 39.7%, 22%)
CIE-LABlab(78.66, -11.61, 39.52)
CIE-LCHlch(78.66, 41.19, 106.38°)
OKLaboklab(81.2% -0.0321 0.0961)
OKLCHoklch(81.2% 0.101 108.5)
XYZxyz(47.3675, 54.3460, 25.7602)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C778 #7878C7
analogous
#C79F78 #C7C778 #9FC778
triadic
#C7C778 #78C7C7 #C778C7
tetradic
#C7C778 #78C79F #7878C7 #C7789F
square
#C7C778 #78C79F #7878C7 #C7789F
split-complementary
#C7C778 #789FC7 #9F78C7
monochromatic
#8B8B3A #B5B54D #C7C778 #D9D9A3 #EBEBCF

Accessibility & contrast

On white

1.77
#C7C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#C7C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C778
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C778#FFFFFF#000000##000000
##C7C7781.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#D4C47B
Tritanopia (blue-blind)
#D1BEB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c778;
/* rgb */ color: rgb(199, 199, 120);
/* oklch */ color: oklch(81.2% 0.101 108.5);
Tailwind
colors: {
  custom: {
    50: '#d9d7a0',
    500: '#c7c778',
    950: '#000000',
  },
}
SCSS
$custom: #c7c778;
$custom-light: #d9d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c778",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.812,
    "c": 0.10127,
    "h": 108.5
  },
  "luminance": 0.54345
}

Semantic roles & 50–950 ramp

primary
#C7C778
secondary
#515192
accent
#31B431
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C7C778

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

Preview Lab → · Contrast checker → · Palette generator →

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