#C2CC28#C2CC28

#C2CC28 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#C2CC28
RGBrgb(194, 204, 40)
HSLhsl(64, 67%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(4.9%, 0%, 80.4%, 20%)
CIE-LABlab(78.93, -21.74, 72.67)
CIE-LCHlch(78.93, 75.86, 106.65°)
OKLaboklab(81.09% -0.0679 0.1574)
OKLCHoklch(81.09% 0.171 113.3)
XYZxyz(44.2255, 54.8093, 10.2566)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC28 #3228CC
analogous
#CC8428 #C2CC28 #70CC28
triadic
#C2CC28 #28C2CC #CC28C2
tetradic
#C2CC28 #28CC84 #3228CC #CC2870
square
#C2CC28 #28CC84 #3228CC #CC2870
split-complementary
#C2CC28 #2870CC #8428CC
monochromatic
#616614 #91991E #C2CC28 #D5DD54 #E2E787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC28#FFFFFF#000000##000000
##C2CC281.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)
#DCC538
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cc28;
/* rgb */ color: rgb(194, 204, 40);
/* oklch */ color: oklch(81.1% 0.171 113.3);
Tailwind
colors: {
  custom: {
    50: '#d9db72',
    500: '#c2cc28',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc28;
$custom-light: #d9db72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc28",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 40
  },
  "hsl": {
    "h": 63.659,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81094,
    "c": 0.17147,
    "h": 113.3
  },
  "luminance": 0.54808
}

Semantic roles & 50–950 ramp

primary
#C2CC28
secondary
#2D2870
accent
#3EEA48
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CC28

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

Preview Lab → · Contrast checker → · Palette generator →

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