#C2CC57#C2CC57

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

Color values

HEX#C2CC57
RGBrgb(194, 204, 87)
HSLhsl(65, 53%, 57%)
HSVhsv(65, 57%, 80%)
CMYKcmyk(4.9%, 0%, 57.4%, 20%)
CIE-LABlab(79.24, -19.20, 55.89)
CIE-LCHlch(79.24, 59.09, 108.96°)
OKLaboklab(81.44% -0.0565 0.1293)
OKLCHoklch(81.44% 0.141 113.6)
XYZxyz(45.5623, 55.3440, 17.2973)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC57 #6157CC
analogous
#CC9C57 #C2CC57 #88CC57
triadic
#C2CC57 #57C2CC #CC57C2
tetradic
#C2CC57 #57CC9C #6157CC #CC5788
square
#C2CC57 #57CC9C #6157CC #CC5788
split-complementary
#C2CC57 #5788CC #9C57CC
monochromatic
#7A8127 #A6B036 #C2CC57 #D3DA86 #E4E9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC57#FFFFFF#000000##000000
##C2CC571.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)
#DAC34A
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#CEC1B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc57;
/* rgb */ color: rgb(194, 204, 87);
/* oklch */ color: oklch(81.4% 0.141 113.6);
Tailwind
colors: {
  custom: {
    50: '#d7db8b',
    500: '#c2cc57',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc57;
$custom-light: #d7db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc57",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 65.128,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.14108,
    "h": 113.6
  },
  "luminance": 0.55343
}

Semantic roles & 50–950 ramp

primary
#C2CC57
secondary
#453E89
accent
#4BDD57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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