#C5CC2B#C5CC2B

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

Color values

HEX#C5CC2B
RGBrgb(197, 204, 43)
HSLhsl(63, 65%, 48%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(3.4%, 0%, 78.9%, 20%)
CIE-LABlab(79.17, -20.37, 72.17)
CIE-LCHlch(79.17, 74.99, 105.77°)
OKLaboklab(81.35% -0.0641 0.1568)
OKLCHoklch(81.35% 0.169 112.2)
XYZxyz(45.0564, 55.2316, 10.5723)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC2B #322BCC
analogous
#CC822B #C5CC2B #74CC2B
triadic
#C5CC2B #2BC5CC #CC2BC5
tetradic
#C5CC2B #2BCC82 #322BCC #CC2B74
square
#C5CC2B #2BCC82 #322BCC #CC2B74
split-complementary
#C5CC2B #2B74CC #822BCC
monochromatic
#636716 #949920 #C5CC2B #D6DC58 #E3E78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC2B#FFFFFF#000000##000000
##C5CC2B1.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)
#DCC63A
Tritanopia (blue-blind)
#D3BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc2b;
/* rgb */ color: rgb(197, 204, 43);
/* oklch */ color: oklch(81.3% 0.169 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdb73',
    500: '#c5cc2b',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc2b;
$custom-light: #dbdb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc2b",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 62.609,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81349,
    "c": 0.16936,
    "h": 112.2
  },
  "luminance": 0.5523
}

Semantic roles & 50–950 ramp

primary
#C5CC2B
secondary
#2D2A71
accent
#40E847
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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