#C2CC2A#C2CC2A

#C2CC2A is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.1% C 0.171 H 113.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C2CC2A
RGBrgb(194, 204, 42)
HSLhsl(64, 66%, 48%)
HSVhsv(64, 79%, 80%)
CMYKcmyk(4.9%, 0%, 79.4%, 20%)
CIE-LABlab(78.94, -21.67, 72.15)
CIE-LCHlch(78.94, 75.33, 106.72°)
OKLaboklab(81.1% -0.0676 0.1567)
OKLCHoklch(81.1% 0.171 113.3)
XYZxyz(44.2604, 54.8232, 10.4404)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC2A #342ACC
analogous
#CC852A #C2CC2A #71CC2A
triadic
#C2CC2A #2AC2CC #CC2AC2
tetradic
#C2CC2A #2ACC85 #342ACC #CC2A71
square
#C2CC2A #2ACC85 #342ACC #CC2A71
split-complementary
#C2CC2A #2A71CC #852ACC
monochromatic
#616615 #929920 #C2CC2A #D4DC57 #E1E78A

Accessibility & contrast

On white

1.76
#C2CC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C2CC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC2A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC2A#FFFFFF#000000##000000
##C2CC2A1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC53A
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cc2a;
/* rgb */ color: rgb(194, 204, 42);
/* oklch */ color: oklch(81.1% 0.171 113.3);
Tailwind
colors: {
  custom: {
    50: '#d9db73',
    500: '#c2cc2a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc2a;
$custom-light: #d9db73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc2a",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 42
  },
  "hsl": {
    "h": 63.704,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.81103,
    "c": 0.17062,
    "h": 113.3
  },
  "luminance": 0.54822
}

Semantic roles & 50–950 ramp

primary
#C2CC2A
secondary
#2E2A71
accent
#3FE949
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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