#C2CC4A#C2CC4A

#C2CC4A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.152 H 113.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C2CC4A
RGBrgb(194, 204, 74)
HSLhsl(65, 56%, 55%)
HSVhsv(65, 64%, 80%)
CMYKcmyk(4.9%, 0%, 63.7%, 20%)
CIE-LABlab(79.13, -20.11, 61.30)
CIE-LCHlch(79.13, 64.52, 108.16°)
OKLaboklab(81.31% -0.0604 0.139)
OKLCHoklch(81.31% 0.152 113.5)
XYZxyz(45.0782, 55.1504, 14.7477)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC4A #544ACC
analogous
#CC954A #C2CC4A #81CC4A
triadic
#C2CC4A #4AC2CC #CC4AC2
tetradic
#C2CC4A #4ACC95 #544ACC #CC4A81
square
#C2CC4A #4ACC95 #544ACC #CC4A81
split-complementary
#C2CC4A #4A81CC #954ACC
monochromatic
#737922 #A0A930 #C2CC4A #D2D97A #E2E7A9

Accessibility & contrast

On white

1.75
#C2CC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C2CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC4A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC4A#FFFFFF#000000##000000
##C2CC4A1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC339
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc4a;
/* rgb */ color: rgb(194, 204, 74);
/* oklch */ color: oklch(81.3% 0.152 113.5);
Tailwind
colors: {
  custom: {
    50: '#d7db83',
    500: '#c2cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc4a;
$custom-light: #d7db83;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc4a",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 64.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81314,
    "c": 0.1516,
    "h": 113.5
  },
  "luminance": 0.55149
}

Semantic roles & 50–950 ramp

primary
#C2CC4A
secondary
#3E3982
accent
#48DF54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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