#C2CC3B#C2CC3B

#C2CC3B 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#C2CC3B
RGBrgb(194, 204, 59)
HSLhsl(64, 59%, 52%)
HSVhsv(64, 71%, 80%)
CMYKcmyk(4.9%, 0%, 71.1%, 20%)
CIE-LABlab(79.03, -20.96, 66.90)
CIE-LCHlch(79.03, 70.11, 107.39°)
OKLaboklab(81.2% -0.0642 0.1485)
OKLCHoklch(81.2% 0.162 113.4)
XYZxyz(44.6317, 54.9718, 12.3963)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC3B #453BCC
analogous
#CC8E3B #C2CC3B #7ACC3B
triadic
#C2CC3B #3BC2CC #CC3BC2
tetradic
#C2CC3B #3BCC8E #453BCC #CC3B7A
square
#C2CC3B #3BCC8E #453BCC #CC3B7A
split-complementary
#C2CC3B #3B7ACC #8E3BCC
monochromatic
#6A701D #98A02A #C2CC3B #D1D96C #E0E59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC3B#FFFFFF#000000##000000
##C2CC3B1.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)
#DBC221
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc3b;
/* rgb */ color: rgb(194, 204, 59);
/* oklch */ color: oklch(81.2% 0.162 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db7b',
    500: '#c2cc3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc3b;
$custom-light: #d8db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc3b",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 64.138,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81199,
    "c": 0.16177,
    "h": 113.4
  },
  "luminance": 0.54971
}

Semantic roles & 50–950 ramp

primary
#C2CC3B
secondary
#373279
accent
#46E251
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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