#C2CC56#C2CC56

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

Color values

HEX#C2CC56
RGBrgb(194, 204, 86)
HSLhsl(65, 54%, 57%)
HSVhsv(65, 58%, 80%)
CMYKcmyk(4.9%, 0%, 57.8%, 20%)
CIE-LABlab(79.23, -19.27, 56.32)
CIE-LCHlch(79.23, 59.53, 108.89°)
OKLaboklab(81.43% -0.0568 0.1301)
OKLCHoklch(81.43% 0.142 113.6)
XYZxyz(45.5217, 55.3278, 17.0836)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC56 #6056CC
analogous
#CC9B56 #C2CC56 #87CC56
triadic
#C2CC56 #56C2CC #CC56C2
tetradic
#C2CC56 #56CC9B #6056CC #CC5687
square
#C2CC56 #56CC9B #6056CC #CC5687
split-complementary
#C2CC56 #5687CC #9B56CC
monochromatic
#798127 #A5B035 #C2CC56 #D3DA85 #E4E8B4

Accessibility & contrast

On white

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

On black

12.07
#C2CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC56
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC56#FFFFFF#000000##000000
##C2CC561.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#D9C65D
Tritanopia (blue-blind)
#CEC1B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc56;
/* rgb */ color: rgb(194, 204, 86);
/* oklch */ color: oklch(81.4% 0.142 113.6);
Tailwind
colors: {
  custom: {
    50: '#d7db8a',
    500: '#c2cc56',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc56;
$custom-light: #d7db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc56",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 65.085,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81428,
    "c": 0.14195,
    "h": 113.6
  },
  "luminance": 0.55327
}

Semantic roles & 50–950 ramp

primary
#C2CC56
secondary
#443E88
accent
#4BDD57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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