#C2CC2D#C2CC2D

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

Color values

HEX#C2CC2D
RGBrgb(194, 204, 45)
HSLhsl(64, 64%, 49%)
HSVhsv(64, 78%, 80%)
CMYKcmyk(4.9%, 0%, 77.9%, 20%)
CIE-LABlab(78.95, -21.56, 71.32)
CIE-LCHlch(78.95, 74.51, 106.82°)
OKLaboklab(81.12% -0.0671 0.1554)
OKLCHoklch(81.12% 0.169 113.3)
XYZxyz(44.3161, 54.8455, 10.7339)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC2D #372DCC
analogous
#CC872D #C2CC2D #73CC2D
triadic
#C2CC2D #2DC2CC #CC2DC2
tetradic
#C2CC2D #2DCC87 #372DCC #CC2D73
square
#C2CC2D #2DCC87 #372DCC #CC2D73
split-complementary
#C2CC2D #2D73CC #872DCC
monochromatic
#636817 #929A22 #C2CC2D #D3DB5B #E0E68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC2D#FFFFFF#000000##000000
##C2CC2D1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cc2d;
/* rgb */ color: rgb(194, 204, 45);
/* oklch */ color: oklch(81.1% 0.169 113.3);
Tailwind
colors: {
  custom: {
    50: '#d8db74',
    500: '#c2cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc2d;
$custom-light: #d8db74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc2d",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 63.774,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81117,
    "c": 0.16927,
    "h": 113.3
  },
  "luminance": 0.54845
}

Semantic roles & 50–950 ramp

primary
#C2CC2D
secondary
#302B72
accent
#41E74B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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