#C2CC2B#C2CC2B

#C2CC2B is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.1% C 0.170 H 113.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C2CC2B
RGBrgb(194, 204, 43)
HSLhsl(64, 65%, 48%)
HSVhsv(64, 79%, 80%)
CMYKcmyk(4.9%, 0%, 78.9%, 20%)
CIE-LABlab(78.94, -21.64, 71.88)
CIE-LCHlch(78.94, 75.06, 106.75°)
OKLaboklab(81.11% -0.0674 0.1563)
OKLCHoklch(81.11% 0.17 113.3)
XYZxyz(44.2785, 54.8305, 10.5359)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC2B #352BCC
analogous
#CC852B #C2CC2B #71CC2B
triadic
#C2CC2B #2BC2CC #CC2BC2
tetradic
#C2CC2B #2BCC85 #352BCC #CC2B71
square
#C2CC2B #2BCC85 #352BCC #CC2B71
split-complementary
#C2CC2B #2B71CC #852BCC
monochromatic
#626716 #929920 #C2CC2B #D4DC58 #E1E78B

Accessibility & contrast

On white

1.76
#C2CC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C2CC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC2B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC2B#FFFFFF#000000##000000
##C2CC2B1.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC53A
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cc2b;
/* rgb */ color: rgb(194, 204, 43);
/* oklch */ color: oklch(81.1% 0.170 113.3);
Tailwind
colors: {
  custom: {
    50: '#d8db73',
    500: '#c2cc2b',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc2b;
$custom-light: #d8db73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc2b",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 63.727,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81107,
    "c": 0.17018,
    "h": 113.3
  },
  "luminance": 0.54829
}

Semantic roles & 50–950 ramp

primary
#C2CC2B
secondary
#2F2A71
accent
#40E84A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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