#C6E340#C6E340

#C6E340 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.6% C 0.183 H 119.3°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#C6E340
RGBrgb(198, 227, 64)
HSLhsl(71, 74%, 57%)
HSVhsv(71, 72%, 89%)
CMYKcmyk(12.8%, 0%, 71.8%, 11%)
CIE-LABlab(85.66, -30.09, 71.71)
CIE-LCHlch(85.66, 77.77, 112.76°)
OKLaboklab(86.61% -0.0893 0.1593)
OKLCHoklch(86.61% 0.183 119.3)
XYZxyz(51.6842, 67.3144, 15.1197)
Luminance0.6731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6E340 #5D40E3
analogous
#E3AF40 #C6E340 #75E340
triadic
#C6E340 #40C6E3 #E340C6
tetradic
#C6E340 #40E3AF #5D40E3 #E34075
square
#C6E340 #40E3AF #5D40E3 #E34075
split-complementary
#C6E340 #4075E3 #AF40E3
monochromatic
#7D9316 #AAC81D #C6E340 #D6EB75 #E6F3AB

Accessibility & contrast

On white

1.45
#C6E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#C6E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6E340
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6E340#FFFFFF#000000##000000
##C6E3401.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D620
Deuteranopia (green-blind)
#EED74E
Tritanopia (blue-blind)
#D1D7C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c6e340;
/* rgb */ color: rgb(198, 227, 64);
/* oklch */ color: oklch(86.6% 0.183 119.3);
Tailwind
colors: {
  custom: {
    50: '#dbeb80',
    500: '#c6e340',
    950: '#000000',
  },
}
SCSS
$custom: #c6e340;
$custom-light: #dbeb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c6e340",
  "rgb": {
    "r": 198,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 70.675,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86611,
    "c": 0.18265,
    "h": 119.3
  },
  "luminance": 0.67314
}

Semantic roles & 50–950 ramp

primary
#C6E340
secondary
#423097
accent
#37F158
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C6E340

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

Preview Lab → · Contrast checker → · Palette generator →

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