#C6EC42#C6EC42

#C6EC42 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.6% C 0.192 H 121.6°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#C6EC42
RGBrgb(198, 236, 66)
HSLhsl(73, 82%, 59%)
HSVhsv(73, 72%, 93%)
CMYKcmyk(16.1%, 0%, 72%, 7.5%)
CIE-LABlab(88.16, -34.15, 73.46)
CIE-LCHlch(88.16, 81.00, 114.93°)
OKLaboklab(88.63% -0.1003 0.1633)
OKLCHoklch(88.63% 0.192 121.6)
XYZxyz(54.2684, 72.3900, 16.2669)
Luminance0.7239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6EC42 #6842EC
analogous
#ECBD42 #C6EC42 #71EC42
triadic
#C6EC42 #42C6EC #EC42C6
tetradic
#C6EC42 #42ECBD #6842EC #EC4271
square
#C6EC42 #42ECBD #6842EC #EC4271
split-complementary
#C6EC42 #4271EC #BD42EC
monochromatic
#82A310 #AFDB16 #C6EC42 #D7F27A #E8F7B1

Accessibility & contrast

On white

1.36
#C6EC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#C6EC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6EC42
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6EC42#FFFFFF#000000##000000
##C6EC421.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE20
Deuteranopia (green-blind)
#F5DD51
Tritanopia (blue-blind)
#D1E0CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c6ec42;
/* rgb */ color: rgb(198, 236, 66);
/* oklch */ color: oklch(88.6% 0.192 121.6);
Tailwind
colors: {
  custom: {
    50: '#dbf281',
    500: '#c6ec42',
    950: '#000000',
  },
}
SCSS
$custom: #c6ec42;
$custom-light: #dbf281;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ec42",
  "rgb": {
    "r": 198,
    "g": 236,
    "b": 66
  },
  "hsl": {
    "h": 73.412,
    "s": 81.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.88625,
    "c": 0.19166,
    "h": 121.6
  },
  "luminance": 0.7239
}

Semantic roles & 50–950 ramp

primary
#C6EC42
secondary
#482DA5
accent
#30F85C
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C6EC42

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

Preview Lab → · Contrast checker → · Palette generator →

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