#C5CC5C#C5CC5C

#C5CC5C is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.136 H 112.3°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C5CC5C
RGBrgb(197, 204, 92)
HSLhsl(64, 52%, 58%)
HSVhsv(64, 55%, 80%)
CMYKcmyk(3.4%, 0%, 54.9%, 20%)
CIE-LABlab(79.52, -17.58, 54.02)
CIE-LCHlch(79.52, 56.81, 108.03°)
OKLaboklab(81.73% -0.0516 0.1258)
OKLCHoklch(81.73% 0.136 112.3)
XYZxyz(46.5516, 55.8297, 18.4471)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC5C #635CCC
analogous
#CC9B5C #C5CC5C #8DCC5C
triadic
#C5CC5C #5CC5CC #CC5CC5
tetradic
#C5CC5C #5CCC9B #635CCC #CC5C8D
square
#C5CC5C #5CCC9B #635CCC #CC5C8D
split-complementary
#C5CC5C #5C8DCC #9B5CCC
monochromatic
#7F8429 #ABB338 #C5CC5C #D6DB8B #E6E9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC5C#FFFFFF#000000##000000
##C5CC5C1.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)
#DAC451
Deuteranopia (green-blind)
#DAC662
Tritanopia (blue-blind)
#D1C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc5c;
/* rgb */ color: rgb(197, 204, 92);
/* oklch */ color: oklch(81.7% 0.136 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db8e',
    500: '#c5cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc5c;
$custom-light: #d9db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc5c",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 63.75,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.13597,
    "h": 112.3
  },
  "luminance": 0.55829
}

Semantic roles & 50–950 ramp

primary
#C5CC5C
secondary
#45418C
accent
#4CDC55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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