#C7CC71#C7CC71

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

Color values

HEX#C7CC71
RGBrgb(199, 204, 113)
HSLhsl(63, 47%, 62%)
HSVhsv(63, 45%, 80%)
CMYKcmyk(2.5%, 0%, 44.6%, 20%)
CIE-LABlab(79.91, -14.88, 44.56)
CIE-LCHlch(79.91, 46.98, 108.46°)
OKLaboklab(82.16% -0.042 0.107)
OKLCHoklch(82.16% 0.115 111.4)
XYZxyz(48.1274, 56.5210, 23.9939)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC71 #7671CC
analogous
#CCA471 #C7CC71 #99CC71
triadic
#C7CC71 #71C7CC #CC71C7
tetradic
#C7CC71 #71CCA4 #7671CC #CC7199
square
#C7CC71 #71CCA4 #7671CC #CC7199
split-complementary
#C7CC71 #7199CC #A471CC
monochromatic
#8A8F33 #B5BC44 #C7CC71 #D9DC9E #EBECCB

Accessibility & contrast

On white

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

On black

12.30
#C7CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC71
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC71#FFFFFF#000000##000000
##C7CC711.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C569
Deuteranopia (green-blind)
#D9C775
Tritanopia (blue-blind)
#D2C2B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cc71;
/* rgb */ color: rgb(199, 204, 113);
/* oklch */ color: oklch(82.2% 0.115 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9db9b',
    500: '#c7cc71',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc71;
$custom-light: #d9db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc71",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 63.297,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82161,
    "c": 0.1149,
    "h": 111.4
  },
  "luminance": 0.5652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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