#C1CC28#C1CC28

#C1CC28 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.0% C 0.172 H 113.7°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C1CC28
RGBrgb(193, 204, 40)
HSLhsl(64, 67%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(5.4%, 0%, 80.4%, 20%)
CIE-LABlab(78.86, -22.16, 72.58)
CIE-LCHlch(78.86, 75.88, 106.98°)
OKLaboklab(81.01% -0.069 0.1573)
OKLCHoklch(81.01% 0.172 113.7)
XYZxyz(43.9696, 54.6773, 10.2446)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CC28 #3328CC
analogous
#CC8528 #C1CC28 #6FCC28
triadic
#C1CC28 #28C1CC #CC28C1
tetradic
#C1CC28 #28CC85 #3328CC #CC286F
square
#C1CC28 #28CC85 #3328CC #CC286F
split-complementary
#C1CC28 #286FCC #8528CC
monochromatic
#606614 #91991E #C1CC28 #D4DD54 #E1E787

Accessibility & contrast

On white

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

On black

11.94
#C1CC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CC28
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CC28#FFFFFF#000000##000000
##C1CC281.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1cc28;
/* rgb */ color: rgb(193, 204, 40);
/* oklch */ color: oklch(81.0% 0.172 113.7);
Tailwind
colors: {
  custom: {
    50: '#d8db72',
    500: '#c1cc28',
    950: '#000000',
  },
}
SCSS
$custom: #c1cc28;
$custom-light: #d8db72;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cc28",
  "rgb": {
    "r": 193,
    "g": 204,
    "b": 40
  },
  "hsl": {
    "h": 64.024,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81014,
    "c": 0.17177,
    "h": 113.7
  },
  "luminance": 0.54676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1CC28

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

Preview Lab → · Contrast checker → · Palette generator →

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