#C5CC2C#C5CC2C

#C5CC2C is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.169 H 112.2°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#C5CC2C
RGBrgb(197, 204, 44)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 78%, 80%)
CMYKcmyk(3.4%, 0%, 78.4%, 20%)
CIE-LABlab(79.18, -20.34, 71.89)
CIE-LCHlch(79.18, 74.72, 105.80°)
OKLaboklab(81.35% -0.0639 0.1563)
OKLCHoklch(81.35% 0.169 112.2)
XYZxyz(45.0750, 55.2390, 10.6701)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC2C #332CCC
analogous
#CC832C #C5CC2C #75CC2C
triadic
#C5CC2C #2CC5CC #CC2CC5
tetradic
#C5CC2C #2CCC83 #332CCC #CC2C75
square
#C5CC2C #2CCC83 #332CCC #CC2C75
split-complementary
#C5CC2C #2C75CC #832CCC
monochromatic
#646716 #949A21 #C5CC2C #D6DB5A #E2E68C

Accessibility & contrast

On white

1.74
#C5CC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#C5CC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC2C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC2C#FFFFFF#000000##000000
##C5CC2C1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC63B
Tritanopia (blue-blind)
#D3BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc2c;
/* rgb */ color: rgb(197, 204, 44);
/* oklch */ color: oklch(81.4% 0.169 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdb74',
    500: '#c5cc2c',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc2c;
$custom-light: #dbdb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc2c",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 44
  },
  "hsl": {
    "h": 62.625,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.1689,
    "h": 112.2
  },
  "luminance": 0.55238
}

Semantic roles & 50–950 ramp

primary
#C5CC2C
secondary
#2E2B71
accent
#40E848
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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