#C2CC5F#C2CC5F

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

Color values

HEX#C2CC5F
RGBrgb(194, 204, 95)
HSLhsl(66, 52%, 59%)
HSVhsv(66, 53%, 80%)
CMYKcmyk(4.9%, 0%, 53.4%, 20%)
CIE-LABlab(79.32, -18.55, 52.35)
CIE-LCHlch(79.32, 55.54, 109.51°)
OKLaboklab(81.53% -0.0539 0.1226)
OKLCHoklch(81.53% 0.134 113.7)
XYZxyz(45.9074, 55.4820, 19.1150)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC5F #695FCC
analogous
#CC9F5F #C2CC5F #8BCC5F
triadic
#C2CC5F #5FC2CC #CC5FC2
tetradic
#C2CC5F #5FCC9F #695FCC #CC5F8B
square
#C2CC5F #5FCC9F #695FCC #CC5F8B
split-complementary
#C2CC5F #5F8BCC #9F5FCC
monochromatic
#7E862B #A9B439 #C2CC5F #D4DB8D #E5EABC

Accessibility & contrast

On white

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

On black

12.10
#C2CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC5F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC5F#FFFFFF#000000##000000
##C2CC5F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C354
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#CDC2B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc5f;
/* rgb */ color: rgb(194, 204, 95);
/* oklch */ color: oklch(81.5% 0.134 113.7);
Tailwind
colors: {
  custom: {
    50: '#d6db90',
    500: '#c2cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc5f;
$custom-light: #d6db90;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc5f",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 65.505,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81527,
    "c": 0.13389,
    "h": 113.7
  },
  "luminance": 0.55481
}

Semantic roles & 50–950 ramp

primary
#C2CC5F
secondary
#49428D
accent
#4DDB5A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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