#C6CC40#C6CC40

#C6CC40 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.158 H 111.8°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C6CC40
RGBrgb(198, 204, 64)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(2.9%, 0%, 68.6%, 20%)
CIE-LABlab(79.36, -19.04, 65.53)
CIE-LCHlch(79.36, 68.24, 106.20°)
OKLaboklab(81.56% -0.0586 0.1463)
OKLCHoklch(81.56% 0.158 111.8)
XYZxyz(45.8084, 55.5628, 13.1611)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC40 #4640CC
analogous
#CC8C40 #C6CC40 #80CC40
triadic
#C6CC40 #40C6CC #CC40C6
tetradic
#C6CC40 #40CC8C #4640CC #CC4080
square
#C6CC40 #40CC8C #4640CC #CC4080
split-complementary
#C6CC40 #4080CC #8C40CC
monochromatic
#6F731F #9EA32C #C6CC40 #D4D970 #E3E6A1

Accessibility & contrast

On white

1.73
#C6CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C6CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC40
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC40#FFFFFF#000000##000000
##C6CC401.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32A
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D3C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cc40;
/* rgb */ color: rgb(198, 204, 64);
/* oklch */ color: oklch(81.6% 0.158 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdb7d',
    500: '#c6cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc40;
$custom-light: #dbdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc40",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 62.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.15761,
    "h": 111.8
  },
  "luminance": 0.55562
}

Semantic roles & 50–950 ramp

primary
#C6CC40
secondary
#37347C
accent
#47E14D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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