#C2CC5C#C2CC5C

#C2CC5C is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.137 H 113.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C2CC5C
RGBrgb(194, 204, 92)
HSLhsl(65, 52%, 58%)
HSVhsv(65, 55%, 80%)
CMYKcmyk(4.9%, 0%, 54.9%, 20%)
CIE-LABlab(79.29, -18.80, 53.69)
CIE-LCHlch(79.29, 56.89, 109.30°)
OKLaboklab(81.49% -0.0549 0.1252)
OKLCHoklch(81.49% 0.137 113.7)
XYZxyz(45.7737, 55.4286, 18.4106)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC5C #665CCC
analogous
#CC9E5C #C2CC5C #8ACC5C
triadic
#C2CC5C #5CC2CC #CC5CC2
tetradic
#C2CC5C #5CCC9E #665CCC #CC5C8A
square
#C2CC5C #5CCC9E #665CCC #CC5C8A
split-complementary
#C2CC5C #5C8ACC #9E5CCC
monochromatic
#7C8429 #A8B338 #C2CC5C #D3DB8B #E5E9B9

Accessibility & contrast

On white

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

On black

12.09
#C2CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC5C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC5C#FFFFFF#000000##000000
##C2CC5C1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C351
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#CDC1B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc5c;
/* rgb */ color: rgb(194, 204, 92);
/* oklch */ color: oklch(81.5% 0.137 113.7);
Tailwind
colors: {
  custom: {
    50: '#d7db8e',
    500: '#c2cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc5c;
$custom-light: #d7db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc5c",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 65.357,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81493,
    "c": 0.13665,
    "h": 113.7
  },
  "luminance": 0.55428
}

Semantic roles & 50–950 ramp

primary
#C2CC5C
secondary
#47418C
accent
#4CDC59
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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