#C6F87F#C6F87F

#C6F87F is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 91.9% C 0.159 H 127.7°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#C6F87F
RGBrgb(198, 248, 127)
HSLhsl(85, 90%, 74%)
HSVhsv(85, 49%, 97%)
CMYKcmyk(20.2%, 0%, 48.8%, 2.7%)
CIE-LABlab(91.99, -34.91, 52.59)
CIE-LCHlch(91.99, 63.12, 123.57°)
OKLaboklab(91.88% -0.0973 0.1257)
OKLCHoklch(91.88% 0.159 127.7)
XYZxyz(60.6865, 80.6720, 32.4486)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F87F #B17FF8
analogous
#F8ED7F #C6F87F #89F87F
triadic
#C6F87F #7FC6F8 #F87FC6
tetradic
#C6F87F #7FF8ED #B17FF8 #F87F89
square
#C6F87F #7FF8ED #B17FF8 #F87F89
split-complementary
#C6F87F #7F89F8 #ED7FF8
monochromatic
#92F00D #ACF545 #C6F87F #E0FBB9 #F2FDE2

Accessibility & contrast

On white

1.23
#C6F87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#C6F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F87F
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F87F#FFFFFF#000000##000000
##C6F87F1.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FBE786
Tritanopia (blue-blind)
#CBEFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c6f87f;
/* rgb */ color: rgb(198, 248, 127);
/* oklch */ color: oklch(91.9% 0.159 127.7);
Tailwind
colors: {
  custom: {
    50: '#d9faa6',
    500: '#c6f87f',
    950: '#000000',
  },
}
SCSS
$custom: #c6f87f;
$custom-light: #d9faa6;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f87f",
  "rgb": {
    "r": 198,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 84.793,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91883,
    "c": 0.15896,
    "h": 127.7
  },
  "luminance": 0.80673
}

Semantic roles & 50–950 ramp

primary
#C6F87F
secondary
#8146D5
accent
#00E65F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C6F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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