#C2CC4F#C2CC4F

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

Color values

HEX#C2CC4F
RGBrgb(194, 204, 79)
HSLhsl(65, 55%, 55%)
HSVhsv(65, 61%, 80%)
CMYKcmyk(4.9%, 0%, 61.3%, 20%)
CIE-LABlab(79.17, -19.78, 59.27)
CIE-LCHlch(79.17, 62.49, 108.45°)
OKLaboklab(81.36% -0.059 0.1354)
OKLCHoklch(81.36% 0.148 113.5)
XYZxyz(45.2534, 55.2204, 15.6703)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC4F #594FCC
analogous
#CC974F #C2CC4F #83CC4F
triadic
#C2CC4F #4FC2CC #CC4FC2
tetradic
#C2CC4F #4FCC97 #594FCC #CC4F83
square
#C2CC4F #4FCC97 #594FCC #CC4F83
split-complementary
#C2CC4F #4F83CC #974FCC
monochromatic
#757D24 #A2AC32 #C2CC4F #D2DA7E #E3E7AE

Accessibility & contrast

On white

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

On black

12.04
#C2CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC4F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC4F#FFFFFF#000000##000000
##C2CC4F1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc4f;
/* rgb */ color: rgb(194, 204, 79);
/* oklch */ color: oklch(81.4% 0.148 113.5);
Tailwind
colors: {
  custom: {
    50: '#d7db86',
    500: '#c2cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc4f;
$custom-light: #d7db86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc4f",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 64.8,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81359,
    "c": 0.14773,
    "h": 113.5
  },
  "luminance": 0.5522
}

Semantic roles & 50–950 ramp

primary
#C2CC4F
secondary
#413B84
accent
#49DE55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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