#C1CC40#C1CC40

#C1CC40 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.159 H 113.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C1CC40
RGBrgb(193, 204, 64)
HSLhsl(65, 58%, 53%)
HSVhsv(65, 69%, 80%)
CMYKcmyk(5.4%, 0%, 68.6%, 20%)
CIE-LABlab(78.98, -21.11, 65.02)
CIE-LCHlch(78.98, 68.37, 107.99°)
OKLaboklab(81.15% -0.0641 0.1454)
OKLCHoklch(81.15% 0.159 113.8)
XYZxyz(44.5118, 54.8942, 13.1003)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CC40 #4B40CC
analogous
#CC9140 #C1CC40 #7BCC40
triadic
#C1CC40 #40C1CC #CC40C1
tetradic
#C1CC40 #40CC91 #4B40CC #CC407B
square
#C1CC40 #40CC91 #4B40CC #CC407B
split-complementary
#C1CC40 #407BCC #9140CC
monochromatic
#6C731F #9AA32C #C1CC40 #D1D970 #E0E6A1

Accessibility & contrast

On white

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

On black

11.98
#C1CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CC40
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CC40#FFFFFF#000000##000000
##C1CC401.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#CEC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c1cc40;
/* rgb */ color: rgb(193, 204, 64);
/* oklch */ color: oklch(81.2% 0.159 113.8);
Tailwind
colors: {
  custom: {
    50: '#d7db7d',
    500: '#c1cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c1cc40;
$custom-light: #d7db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cc40",
  "rgb": {
    "r": 193,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 64.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81154,
    "c": 0.1589,
    "h": 113.8
  },
  "luminance": 0.54893
}

Semantic roles & 50–950 ramp

primary
#C1CC40
secondary
#3A347C
accent
#47E153
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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