#C7CC72#C7CC72

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

Color values

HEX#C7CC72
RGBrgb(199, 204, 114)
HSLhsl(63, 47%, 62%)
HSVhsv(63, 44%, 80%)
CMYKcmyk(2.5%, 0%, 44.1%, 20%)
CIE-LABlab(79.92, -14.78, 44.08)
CIE-LCHlch(79.92, 46.49, 108.53°)
OKLaboklab(82.18% -0.0416 0.106)
OKLCHoklch(82.18% 0.114 111.4)
XYZxyz(48.1840, 56.5436, 24.2921)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC72 #7772CC
analogous
#CCA472 #C7CC72 #9ACC72
triadic
#C7CC72 #72C7CC #CC72C7
tetradic
#C7CC72 #72CCA4 #7772CC #CC729A
square
#C7CC72 #72CCA4 #7772CC #CC729A
split-complementary
#C7CC72 #729ACC #A472CC
monochromatic
#8B9034 #B5BC45 #C7CC72 #D9DC9F #EBEDCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC72#FFFFFF#000000##000000
##C7CC721.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)
#D8C56B
Deuteranopia (green-blind)
#D9C776
Tritanopia (blue-blind)
#D1C2B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cc72;
/* rgb */ color: rgb(199, 204, 114);
/* oklch */ color: oklch(82.2% 0.114 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9db9c',
    500: '#c7cc72',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc72;
$custom-light: #d9db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc72",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 63.333,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82176,
    "c": 0.11384,
    "h": 111.4
  },
  "luminance": 0.56543
}

Semantic roles & 50–950 ramp

primary
#C7CC72
secondary
#504C96
accent
#2BBA33
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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