#C6CC2B#C6CC2B

#C6CC2B 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#C6CC2B
RGBrgb(198, 204, 43)
HSLhsl(62, 65%, 48%)
HSVhsv(62, 79%, 80%)
CMYKcmyk(2.9%, 0%, 78.9%, 20%)
CIE-LABlab(79.25, -19.95, 72.27)
CIE-LCHlch(79.25, 74.97, 105.43°)
OKLaboklab(81.43% -0.063 0.1569)
OKLCHoklch(81.43% 0.169 111.9)
XYZxyz(45.3192, 55.3671, 10.5847)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC2B #312BCC
analogous
#CC812B #C6CC2B #75CC2B
triadic
#C6CC2B #2BC6CC #CC2BC6
tetradic
#C6CC2B #2BCC81 #312BCC #CC2B75
square
#C6CC2B #2BCC81 #312BCC #CC2B75
split-complementary
#C6CC2B #2B75CC #812BCC
monochromatic
#646716 #959920 #C6CC2B #D7DC58 #E3E78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CC2B#FFFFFF#000000##000000
##C6CC2B1.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)
#DDC63A
Tritanopia (blue-blind)
#D4BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cc2b;
/* rgb */ color: rgb(198, 204, 43);
/* oklch */ color: oklch(81.4% 0.169 111.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb73',
    500: '#c6cc2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc2b;
$custom-light: #dbdb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc2b",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 62.236,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81431,
    "c": 0.16909,
    "h": 111.9
  },
  "luminance": 0.55366
}

Semantic roles & 50–950 ramp

primary
#C6CC2B
secondary
#2D2A71
accent
#40E846
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6CC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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