#C2CC51#C2CC51

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

Color values

HEX#C2CC51
RGBrgb(194, 204, 81)
HSLhsl(65, 55%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(4.9%, 0%, 60.3%, 20%)
CIE-LABlab(79.19, -19.64, 58.44)
CIE-LCHlch(79.19, 61.65, 108.58°)
OKLaboklab(81.38% -0.0584 0.134)
OKLCHoklch(81.38% 0.146 113.5)
XYZxyz(45.3273, 55.2500, 16.0595)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC51 #5B51CC
analogous
#CC9851 #C2CC51 #84CC51
triadic
#C2CC51 #51C2CC #CC51C2
tetradic
#C2CC51 #51CC98 #5B51CC #CC5184
square
#C2CC51 #51CC98 #5B51CC #CC5184
split-complementary
#C2CC51 #5184CC #9851CC
monochromatic
#777E25 #A3AD33 #C2CC51 #D3DA80 #E3E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC51#FFFFFF#000000##000000
##C2CC511.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)
#DAC343
Deuteranopia (green-blind)
#DAC559
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc51;
/* rgb */ color: rgb(194, 204, 81);
/* oklch */ color: oklch(81.4% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#d7db87',
    500: '#c2cc51',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc51;
$custom-light: #d7db87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc51",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 64.878,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81378,
    "c": 0.14612,
    "h": 113.5
  },
  "luminance": 0.55249
}

Semantic roles & 50–950 ramp

primary
#C2CC51
secondary
#423C86
accent
#4ADE56
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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