#C6CC42#C6CC42

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

Color values

HEX#C6CC42
RGBrgb(198, 204, 66)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(2.9%, 0%, 67.6%, 20%)
CIE-LABlab(79.38, -18.93, 64.80)
CIE-LCHlch(79.38, 67.51, 106.28°)
OKLaboklab(81.57% -0.0581 0.1451)
OKLCHoklch(81.57% 0.156 111.8)
XYZxyz(45.8663, 55.5859, 13.4662)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC42 #4842CC
analogous
#CC8D42 #C6CC42 #81CC42
triadic
#C6CC42 #42C6CC #CC42C6
tetradic
#C6CC42 #42CC8D #4842CC #CC4281
square
#C6CC42 #42CC8D #4842CC #CC4281
split-complementary
#C6CC42 #4281CC #8D42CC
monochromatic
#71741F #9FA42C #C6CC42 #D5D972 #E3E6A2

Accessibility & contrast

On white

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

On black

12.12
#C6CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC42
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC42#FFFFFF#000000##000000
##C6CC421.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6cc42;
/* rgb */ color: rgb(198, 204, 66);
/* oklch */ color: oklch(81.6% 0.156 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdb7e',
    500: '#c6cc42',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc42;
$custom-light: #dbdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc42",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 62.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81571,
    "c": 0.15629,
    "h": 111.8
  },
  "luminance": 0.55585
}

Semantic roles & 50–950 ramp

primary
#C6CC42
secondary
#38357D
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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