#C2CC3A#C2CC3A

#C2CC3A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.162 H 113.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#C2CC3A
RGBrgb(194, 204, 58)
HSLhsl(64, 59%, 51%)
HSVhsv(64, 72%, 80%)
CMYKcmyk(4.9%, 0%, 71.6%, 20%)
CIE-LABlab(79.02, -21.01, 67.25)
CIE-LCHlch(79.02, 70.45, 107.35°)
OKLaboklab(81.19% -0.0645 0.149)
OKLCHoklch(81.19% 0.162 113.4)
XYZxyz(44.6061, 54.9615, 12.2610)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC3A #443ACC
analogous
#CC8D3A #C2CC3A #79CC3A
triadic
#C2CC3A #3AC2CC #CC3AC2
tetradic
#C2CC3A #3ACC8D #443ACC #CC3A79
square
#C2CC3A #3ACC8D #443ACC #CC3A79
split-complementary
#C2CC3A #3A79CC #8D3ACC
monochromatic
#696F1D #97A029 #C2CC3A #D1D96B #E0E59B

Accessibility & contrast

On white

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

On black

11.99
#C2CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC3A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC3A#FFFFFF#000000##000000
##C2CC3A1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc3a;
/* rgb */ color: rgb(194, 204, 58);
/* oklch */ color: oklch(81.2% 0.162 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db7a',
    500: '#c2cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc3a;
$custom-light: #d8db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc3a",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 64.11,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81192,
    "c": 0.16237,
    "h": 113.4
  },
  "luminance": 0.54961
}

Semantic roles & 50–950 ramp

primary
#C2CC3A
secondary
#373278
accent
#46E250
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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