#C5CC71#C5CC71

#C5CC71 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.115 H 112.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C5CC71
RGBrgb(197, 204, 113)
HSLhsl(65, 47%, 62%)
HSVhsv(65, 45%, 80%)
CMYKcmyk(3.4%, 0%, 44.6%, 20%)
CIE-LABlab(79.76, -15.68, 44.33)
CIE-LCHlch(79.76, 47.02, 109.47°)
OKLaboklab(82% -0.0441 0.1065)
OKLCHoklch(82% 0.115 112.5)
XYZxyz(47.6001, 56.2491, 23.9692)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC71 #7871CC
analogous
#CCA571 #C5CC71 #98CC71
triadic
#C5CC71 #71C5CC #CC71C5
tetradic
#C5CC71 #71CCA5 #7871CC #CC7198
square
#C5CC71 #71CCA5 #7871CC #CC7198
split-complementary
#C5CC71 #7198CC #A571CC
monochromatic
#888F33 #B3BC44 #C5CC71 #D7DC9E #EAECCB

Accessibility & contrast

On white

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

On black

12.25
#C5CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC71
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC71#FFFFFF#000000##000000
##C5CC711.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C469
Deuteranopia (green-blind)
#D8C775
Tritanopia (blue-blind)
#CFC3B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cc71;
/* rgb */ color: rgb(197, 204, 113);
/* oklch */ color: oklch(82.0% 0.115 112.5);
Tailwind
colors: {
  custom: {
    50: '#d8db9b',
    500: '#c5cc71',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc71;
$custom-light: #d8db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc71",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 64.615,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82,
    "c": 0.11527,
    "h": 112.5
  },
  "luminance": 0.56248
}

Semantic roles & 50–950 ramp

primary
#C5CC71
secondary
#514B96
accent
#2BBA36
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C5CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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