#C6CC2C#C6CC2C

#C6CC2C is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.169 H 111.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C6CC2C
RGBrgb(198, 204, 44)
HSLhsl(62, 65%, 49%)
HSVhsv(62, 78%, 80%)
CMYKcmyk(2.9%, 0%, 78.4%, 20%)
CIE-LABlab(79.26, -19.92, 71.99)
CIE-LCHlch(79.26, 74.70, 105.47°)
OKLaboklab(81.44% -0.0628 0.1565)
OKLCHoklch(81.44% 0.169 111.9)
XYZxyz(45.3378, 55.3745, 10.6825)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC2C #322CCC
analogous
#CC822C #C6CC2C #76CC2C
triadic
#C6CC2C #2CC6CC #CC2CC6
tetradic
#C6CC2C #2CCC82 #322CCC #CC2C76
square
#C6CC2C #2CCC82 #322CCC #CC2C76
split-complementary
#C6CC2C #2C76CC #822CCC
monochromatic
#646716 #959A21 #C6CC2C #D7DB5A #E3E68C

Accessibility & contrast

On white

1.74
#C6CC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#C6CC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC2C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC2C#FFFFFF#000000##000000
##C6CC2C1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DDC63B
Tritanopia (blue-blind)
#D4BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cc2c;
/* rgb */ color: rgb(198, 204, 44);
/* oklch */ color: oklch(81.4% 0.169 111.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb74',
    500: '#c6cc2c',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc2c;
$custom-light: #dbdb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc2c",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 44
  },
  "hsl": {
    "h": 62.25,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81436,
    "c": 0.16865,
    "h": 111.9
  },
  "luminance": 0.55373
}

Semantic roles & 50–950 ramp

primary
#C6CC2C
secondary
#2D2B71
accent
#40E847
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6CC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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