#C7CC80#C7CC80

#C7CC80 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.098 H 111.6°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#C7CC80
RGBrgb(199, 204, 128)
HSLhsl(64, 43%, 65%)
HSVhsv(64, 37%, 80%)
CMYKcmyk(2.5%, 0%, 37.3%, 20%)
CIE-LABlab(80.12, -13.26, 37.31)
CIE-LCHlch(80.12, 39.60, 109.56°)
OKLaboklab(82.39% -0.0362 0.0914)
OKLCHoklch(82.39% 0.098 111.6)
XYZxyz(49.0428, 56.8871, 28.8147)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC80 #8580CC
analogous
#CCAB80 #C7CC80 #A1CC80
triadic
#C7CC80 #80C7CC #CC80C7
tetradic
#C7CC80 #80CCAB #8580CC #CC80A1
square
#C7CC80 #80CCAB #8580CC #CC80A1
split-complementary
#C7CC80 #80A1CC #AB80CC
monochromatic
#90963C #B4BA54 #C7CC80 #DADEAC #EEEFD7

Accessibility & contrast

On white

1.70
#C7CC80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#C7CC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC80
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC80#FFFFFF#000000##000000
##C7CC801.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67A
Deuteranopia (green-blind)
#D7C883
Tritanopia (blue-blind)
#D0C4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cc80;
/* rgb */ color: rgb(199, 204, 128);
/* oklch */ color: oklch(82.4% 0.098 111.6);
Tailwind
colors: {
  custom: {
    50: '#d9dba6',
    500: '#c7cc80',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc80;
$custom-light: #d9dba6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc80",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 128
  },
  "hsl": {
    "h": 63.947,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82393,
    "c": 0.09833,
    "h": 111.6
  },
  "luminance": 0.56886
}

Semantic roles & 50–950 ramp

primary
#C7CC80
secondary
#59549C
accent
#30B639
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C7CC80

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

Preview Lab → · Contrast checker → · Palette generator →

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