#C5CC50#C5CC50

#C5CC50 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.146 H 112.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C5CC50
RGBrgb(197, 204, 80)
HSLhsl(63, 55%, 56%)
HSVhsv(63, 61%, 80%)
CMYKcmyk(3.4%, 0%, 60.8%, 20%)
CIE-LABlab(79.41, -18.48, 59.17)
CIE-LCHlch(79.41, 61.99, 107.34°)
OKLaboklab(81.61% -0.0554 0.1353)
OKLCHoklch(81.61% 0.146 112.3)
XYZxyz(46.0680, 55.6362, 15.9000)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC50 #5750CC
analogous
#CC9550 #C5CC50 #87CC50
triadic
#C5CC50 #50C5CC #CC50C5
tetradic
#C5CC50 #50CC95 #5750CC #CC5087
square
#C5CC50 #50CC95 #5750CC #CC5087
split-complementary
#C5CC50 #5087CC #9550CC
monochromatic
#787D24 #A6AD32 #C5CC50 #D5DA7F #E4E8AF

Accessibility & contrast

On white

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

On black

12.13
#C5CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC50
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC50#FFFFFF#000000##000000
##C5CC501.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#D1C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc50;
/* rgb */ color: rgb(197, 204, 80);
/* oklch */ color: oklch(81.6% 0.146 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db86',
    500: '#c5cc50',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc50;
$custom-light: #d9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc50",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 63.387,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81609,
    "c": 0.1462,
    "h": 112.3
  },
  "luminance": 0.55635
}

Semantic roles & 50–950 ramp

primary
#C5CC50
secondary
#3F3B85
accent
#4ADE52
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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