#C2CC71#C2CC71

#C2CC71 is a light, moderate yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.116 H 114.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C2CC71
RGBrgb(194, 204, 113)
HSLhsl(67, 47%, 62%)
HSVhsv(67, 45%, 80%)
CMYKcmyk(4.9%, 0%, 44.6%, 20%)
CIE-LABlab(79.53, -16.87, 44.00)
CIE-LCHlch(79.53, 47.12, 110.97°)
OKLaboklab(81.76% -0.0474 0.1058)
OKLCHoklch(81.76% 0.116 114.1)
XYZxyz(46.8222, 55.8480, 23.9327)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC71 #7B71CC
analogous
#CCA871 #C2CC71 #95CC71
triadic
#C2CC71 #71C2CC #CC71C2
tetradic
#C2CC71 #71CCA8 #7B71CC #CC7195
square
#C2CC71 #71CCA8 #7B71CC #CC7195
split-complementary
#C2CC71 #7195CC #A871CC
monochromatic
#858F33 #AFBC44 #C2CC71 #D5DC9E #E9ECCB

Accessibility & contrast

On white

1.73
#C2CC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C2CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC71
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC71#FFFFFF#000000##000000
##C2CC711.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C469
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#CCC3B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cc71;
/* rgb */ color: rgb(194, 204, 113);
/* oklch */ color: oklch(81.8% 0.116 114.1);
Tailwind
colors: {
  custom: {
    50: '#d6db9b',
    500: '#c2cc71',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc71;
$custom-light: #d6db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc71",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 66.593,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81762,
    "c": 0.11591,
    "h": 114.1
  },
  "luminance": 0.55847
}

Semantic roles & 50–950 ramp

primary
#C2CC71
secondary
#544B96
accent
#2BBA3B
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #C2CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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