#C2CC5A#C2CC5A

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

Color values

HEX#C2CC5A
RGBrgb(194, 204, 90)
HSLhsl(65, 53%, 58%)
HSVhsv(65, 56%, 80%)
CMYKcmyk(4.9%, 0%, 55.9%, 20%)
CIE-LABlab(79.27, -18.96, 54.58)
CIE-LCHlch(79.27, 57.78, 109.16°)
OKLaboklab(81.47% -0.0555 0.1268)
OKLCHoklch(81.47% 0.138 113.7)
XYZxyz(45.6874, 55.3940, 17.9562)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC5A #645ACC
analogous
#CC9D5A #C2CC5A #89CC5A
triadic
#C2CC5A #5AC2CC #CC5AC2
tetradic
#C2CC5A #5ACC9D #645ACC #CC5A89
square
#C2CC5A #5ACC9D #645ACC #CC5A89
split-complementary
#C2CC5A #5A89CC #9D5ACC
monochromatic
#7B8329 #A7B237 #C2CC5A #D3DA89 #E5E9B7

Accessibility & contrast

On white

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

On black

12.08
#C2CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC5A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC5A#FFFFFF#000000##000000
##C2CC5A1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cc5a;
/* rgb */ color: rgb(194, 204, 90);
/* oklch */ color: oklch(81.5% 0.138 113.7);
Tailwind
colors: {
  custom: {
    50: '#d7db8c',
    500: '#c2cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc5a;
$custom-light: #d7db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc5a",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 65.263,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81471,
    "c": 0.13845,
    "h": 113.7
  },
  "luminance": 0.55393
}

Semantic roles & 50–950 ramp

primary
#C2CC5A
secondary
#46408A
accent
#4CDC58
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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