#C2CC45#C2CC45

#C2CC45 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.155 H 113.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C2CC45
RGBrgb(194, 204, 69)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(4.9%, 0%, 66.2%, 20%)
CIE-LABlab(79.09, -20.42, 63.26)
CIE-LCHlch(79.09, 66.47, 107.89°)
OKLaboklab(81.27% -0.0618 0.1424)
OKLCHoklch(81.27% 0.155 113.4)
XYZxyz(44.9164, 55.0856, 13.8955)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC45 #4F45CC
analogous
#CC9245 #C2CC45 #7ECC45
triadic
#C2CC45 #45C2CC #CC45C2
tetradic
#C2CC45 #45CC92 #4F45CC #CC457E
square
#C2CC45 #45CC92 #4F45CC #CC457E
split-complementary
#C2CC45 #457ECC #9245CC
monochromatic
#707620 #9DA62E #C2CC45 #D2D975 #E2E6A5

Accessibility & contrast

On white

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

On black

12.02
#C2CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC45
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC45#FFFFFF#000000##000000
##C2CC451.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC232
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc45;
/* rgb */ color: rgb(194, 204, 69);
/* oklch */ color: oklch(81.3% 0.155 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db80',
    500: '#c2cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc45;
$custom-light: #d8db80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc45",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 64.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81272,
    "c": 0.15523,
    "h": 113.4
  },
  "luminance": 0.55085
}

Semantic roles & 50–950 ramp

primary
#C2CC45
secondary
#3C367F
accent
#48E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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