#C3CC2A#C3CC2A

#C3CC2A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.170 H 113.0°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#C3CC2A
RGBrgb(195, 204, 42)
HSLhsl(63, 66%, 48%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(4.4%, 0%, 79.4%, 20%)
CIE-LABlab(79.02, -21.25, 72.24)
CIE-LCHlch(79.02, 75.30, 106.39°)
OKLaboklab(81.18% -0.0665 0.1568)
OKLCHoklch(81.18% 0.17 113)
XYZxyz(44.5180, 54.9560, 10.4525)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CC2A #332ACC
analogous
#CC842A #C3CC2A #72CC2A
triadic
#C3CC2A #2AC3CC #CC2AC3
tetradic
#C3CC2A #2ACC84 #332ACC #CC2A72
square
#C3CC2A #2ACC84 #332ACC #CC2A72
split-complementary
#C3CC2A #2A72CC #842ACC
monochromatic
#626615 #929920 #C3CC2A #D5DC57 #E2E78A

Accessibility & contrast

On white

1.75
#C3CC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#C3CC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CC2A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CC2A#FFFFFF#000000##000000
##C3CC2A1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3cc2a;
/* rgb */ color: rgb(195, 204, 42);
/* oklch */ color: oklch(81.2% 0.170 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9db73',
    500: '#c3cc2a',
    950: '#000000',
  },
}
SCSS
$custom: #c3cc2a;
$custom-light: #d9db73;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cc2a",
  "rgb": {
    "r": 195,
    "g": 204,
    "b": 42
  },
  "hsl": {
    "h": 63.333,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.81183,
    "c": 0.17034,
    "h": 113
  },
  "luminance": 0.54955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3CC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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