#C6F97A#C6F97A

#C6F97A is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.0% C 0.165 H 127.4°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#C6F97A
RGBrgb(198, 249, 122)
HSLhsl(84, 91%, 73%)
HSVhsv(84, 51%, 98%)
CMYKcmyk(20.5%, 0%, 51%, 2.4%)
CIE-LABlab(92.20, -35.87, 55.16)
CIE-LCHlch(92.20, 65.80, 123.04°)
OKLaboklab(92.04% -0.1003 0.131)
OKLCHoklch(92.04% 0.165 127.4)
XYZxyz(60.6769, 81.1614, 30.8776)
Luminance0.8116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F97A #AD7AF9
analogous
#F9EC7A #C6F97A #87F97A
triadic
#C6F97A #7AC6F9 #F97AC6
tetradic
#C6F97A #7AF9EC #AD7AF9 #F97A87
square
#C6F97A #7AF9EC #AD7AF9 #F97A87
split-complementary
#C6F97A #7A87F9 #EC7AF9
monochromatic
#93EE0B #ADF63F #C6F97A #DFFCB5 #F2FEE2

Accessibility & contrast

On white

1.22
#C6F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#C6F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F97A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F97A#FFFFFF#000000##000000
##C6F97A1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#CCEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c6f97a;
/* rgb */ color: rgb(198, 249, 122);
/* oklch */ color: oklch(92.0% 0.165 127.4);
Tailwind
colors: {
  custom: {
    50: '#d9fba3',
    500: '#c6f97a',
    950: '#000000',
  },
}
SCSS
$custom: #c6f97a;
$custom-light: #d9fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f97a",
  "rgb": {
    "r": 198,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 84.094,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92041,
    "c": 0.165,
    "h": 127.4
  },
  "luminance": 0.81162
}

Semantic roles & 50–950 ramp

primary
#C6F97A
secondary
#7D42D5
accent
#00E65C
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C6F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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