#C7CC73#C7CC73

#C7CC73 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.113 H 111.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C7CC73
RGBrgb(199, 204, 115)
HSLhsl(63, 47%, 63%)
HSVhsv(63, 44%, 80%)
CMYKcmyk(2.5%, 0%, 43.6%, 20%)
CIE-LABlab(79.94, -14.68, 43.60)
CIE-LCHlch(79.94, 46.01, 108.60°)
OKLaboklab(82.19% -0.0412 0.105)
OKLCHoklch(82.19% 0.113 111.4)
XYZxyz(48.2413, 56.5665, 24.5935)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC73 #7873CC
analogous
#CCA573 #C7CC73 #9ACC73
triadic
#C7CC73 #73C7CC #CC73C7
tetradic
#C7CC73 #73CCA5 #7873CC #CC739A
square
#C7CC73 #73CCA5 #7873CC #CC739A
split-complementary
#C7CC73 #739ACC #A573CC
monochromatic
#8B9034 #B5BC46 #C7CC73 #D9DCA0 #EBEDCD

Accessibility & contrast

On white

1.71
#C7CC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#C7CC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC73
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC73#FFFFFF#000000##000000
##C7CC731.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56C
Deuteranopia (green-blind)
#D9C777
Tritanopia (blue-blind)
#D1C2B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cc73;
/* rgb */ color: rgb(199, 204, 115);
/* oklch */ color: oklch(82.2% 0.113 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9db9d',
    500: '#c7cc73',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc73;
$custom-light: #d9db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc73",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 63.371,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8219,
    "c": 0.11278,
    "h": 111.4
  },
  "luminance": 0.56566
}

Semantic roles & 50–950 ramp

primary
#C7CC73
secondary
#514D97
accent
#2CBA34
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7CC73

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

Preview Lab → · Contrast checker → · Palette generator →

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