#C6E842#C6E842

#C6E842 is a very light, vivid yellow-green. Relative luminance 0.701; OKLCH L 87.7% C 0.187 H 120.6°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#C6E842
RGBrgb(198, 232, 66)
HSLhsl(72, 78%, 58%)
HSVhsv(72, 72%, 91%)
CMYKcmyk(14.7%, 0%, 71.6%, 9%)
CIE-LABlab(87.05, -32.31, 72.38)
CIE-LCHlch(87.05, 79.27, 114.06°)
OKLaboklab(87.74% -0.0953 0.161)
OKLCHoklch(87.74% 0.187 120.6)
XYZxyz(53.1296, 70.1125, 15.8873)
Luminance0.7011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6E842 #6442E8
analogous
#E8B742 #C6E842 #73E842
triadic
#C6E842 #42C6E8 #E842C6
tetradic
#C6E842 #42E8B7 #6442E8 #E84273
square
#C6E842 #42E8B7 #6442E8 #E84273
split-complementary
#C6E842 #4273E8 #B742E8
monochromatic
#809D13 #ADD31A #C6E842 #D6EF79 #E7F5AF

Accessibility & contrast

On white

1.40
#C6E842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#C6E842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6E842
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6E842#FFFFFF#000000##000000
##C6E8421.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA22
Deuteranopia (green-blind)
#F2DA50
Tritanopia (blue-blind)
#D1DCC8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c6e842;
/* rgb */ color: rgb(198, 232, 66);
/* oklch */ color: oklch(87.7% 0.187 120.6);
Tailwind
colors: {
  custom: {
    50: '#dbef81',
    500: '#c6e842',
    950: '#000000',
  },
}
SCSS
$custom: #c6e842;
$custom-light: #dbef81;
$custom-dark: #000000;
JSON
{
  "hex": "#c6e842",
  "rgb": {
    "r": 198,
    "g": 232,
    "b": 66
  },
  "hsl": {
    "h": 72.289,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87735,
    "c": 0.18712,
    "h": 120.6
  },
  "luminance": 0.70112
}

Semantic roles & 50–950 ramp

primary
#C6E842
secondary
#462FA0
accent
#33F55B
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C6E842

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

Preview Lab → · Contrast checker → · Palette generator →

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