#C6CC2E#C6CC2E

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

Color values

HEX#C6CC2E
RGBrgb(198, 204, 46)
HSLhsl(62, 63%, 49%)
HSVhsv(62, 77%, 80%)
CMYKcmyk(2.9%, 0%, 77.5%, 20%)
CIE-LABlab(79.27, -19.85, 71.43)
CIE-LCHlch(79.27, 74.13, 105.53°)
OKLaboklab(81.45% -0.0624 0.1557)
OKLCHoklch(81.45% 0.168 111.9)
XYZxyz(45.3763, 55.3899, 10.8853)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC2E #342ECC
analogous
#CC832E #C6CC2E #77CC2E
triadic
#C6CC2E #2EC6CC #CC2EC6
tetradic
#C6CC2E #2ECC83 #342ECC #CC2E77
square
#C6CC2E #2ECC83 #342ECC #CC2E77
split-complementary
#C6CC2E #2E77CC #832ECC
monochromatic
#656817 #969A23 #C6CC2E #D6DA5D #E2E68F

Accessibility & contrast

On white

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

On black

12.08
#C6CC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC2E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC2E#FFFFFF#000000##000000
##C6CC2E1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6cc2e;
/* rgb */ color: rgb(198, 204, 46);
/* oklch */ color: oklch(81.4% 0.168 111.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb75',
    500: '#c6cc2e',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc2e;
$custom-light: #dbdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc2e",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 46
  },
  "hsl": {
    "h": 62.278,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81445,
    "c": 0.16772,
    "h": 111.9
  },
  "luminance": 0.55389
}

Semantic roles & 50–950 ramp

primary
#C6CC2E
secondary
#2F2C72
accent
#42E648
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6CC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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