#C2CC52#C2CC52

#C2CC52 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.145 H 113.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#C2CC52
RGBrgb(194, 204, 82)
HSLhsl(65, 54%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(4.9%, 0%, 59.8%, 20%)
CIE-LABlab(79.19, -19.57, 58.02)
CIE-LCHlch(79.19, 61.23, 108.64°)
OKLaboklab(81.39% -0.0581 0.1332)
OKLCHoklch(81.39% 0.145 113.6)
XYZxyz(45.3651, 55.2651, 16.2585)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC52 #5C52CC
analogous
#CC9952 #C2CC52 #85CC52
triadic
#C2CC52 #52C2CC #CC52C2
tetradic
#C2CC52 #52CC99 #5C52CC #CC5285
square
#C2CC52 #52CC99 #5C52CC #CC5285
split-complementary
#C2CC52 #5285CC #9952CC
monochromatic
#777E25 #A4AE33 #C2CC52 #D3DA81 #E3E8B1

Accessibility & contrast

On white

1.74
#C2CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#C2CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC52
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC52#FFFFFF#000000##000000
##C2CC521.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DAC55A
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc52;
/* rgb */ color: rgb(194, 204, 82);
/* oklch */ color: oklch(81.4% 0.145 113.6);
Tailwind
colors: {
  custom: {
    50: '#d7db87',
    500: '#c2cc52',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc52;
$custom-light: #d7db87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc52",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 64.918,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81388,
    "c": 0.14531,
    "h": 113.6
  },
  "luminance": 0.55264
}

Semantic roles & 50–950 ramp

primary
#C2CC52
secondary
#423C86
accent
#4ADE56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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