#C2CC34#C2CC34

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

Color values

HEX#C2CC34
RGBrgb(194, 204, 52)
HSLhsl(64, 60%, 50%)
HSVhsv(64, 75%, 80%)
CMYKcmyk(4.9%, 0%, 74.5%, 20%)
CIE-LABlab(78.99, -21.28, 69.22)
CIE-LCHlch(78.99, 72.42, 107.09°)
OKLaboklab(81.16% -0.0657 0.1522)
OKLCHoklch(81.16% 0.166 113.4)
XYZxyz(44.4622, 54.9040, 11.5035)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC34 #3E34CC
analogous
#CC8A34 #C2CC34 #76CC34
triadic
#C2CC34 #34C2CC #CC34C2
tetradic
#C2CC34 #34CC8A #3E34CC #CC3476
square
#C2CC34 #34CC8A #3E34CC #CC3476
split-complementary
#C2CC34 #3476CC #8A34CC
monochromatic
#666B1B #949C27 #C2CC34 #D1D865 #DFE596

Accessibility & contrast

On white

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

On black

11.98
#C2CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC34
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC34#FFFFFF#000000##000000
##C2CC341.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC210
Deuteranopia (green-blind)
#DBC541
Tritanopia (blue-blind)
#CFC0AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc34;
/* rgb */ color: rgb(194, 204, 52);
/* oklch */ color: oklch(81.2% 0.166 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db77',
    500: '#c2cc34',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc34;
$custom-light: #d8db77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc34",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 63.947,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81155,
    "c": 0.16577,
    "h": 113.4
  },
  "luminance": 0.54903
}

Semantic roles & 50–950 ramp

primary
#C2CC34
secondary
#343074
accent
#45E34F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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