#C6F271#C6F271

#C6F271 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.4% C 0.164 H 125.2°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#C6F271
RGBrgb(198, 242, 113)
HSLhsl(80, 83%, 70%)
HSVhsv(80, 53%, 95%)
CMYKcmyk(18.2%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.18, -33.54, 56.86)
CIE-LCHlch(90.18, 66.01, 120.54°)
OKLaboklab(90.38% -0.0945 0.134)
OKLCHoklch(90.38% 0.164 125.2)
XYZxyz(58.0215, 76.7017, 27.3677)
Luminance0.7670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F271 #9D71F2
analogous
#F2DE71 #C6F271 #86F271
triadic
#C6F271 #71C6F2 #F271C6
tetradic
#C6F271 #71F2DE #9D71F2 #F27186
square
#C6F271 #71F2DE #9D71F2 #F27186
split-complementary
#C6F271 #7186F2 #DE71F2
monochromatic
#93D514 #AFED39 #C6F271 #DDF7A9 #F3FCE1

Accessibility & contrast

On white

1.29
#C6F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#C6F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F271
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F271#FFFFFF#000000##000000
##C6F2711.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE465
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#CDE8D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c6f271;
/* rgb */ color: rgb(198, 242, 113);
/* oklch */ color: oklch(90.4% 0.164 125.2);
Tailwind
colors: {
  custom: {
    50: '#daf69d',
    500: '#c6f271',
    950: '#000000',
  },
}
SCSS
$custom: #c6f271;
$custom-light: #daf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f271",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 80.465,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90381,
    "c": 0.16396,
    "h": 125.2
  },
  "luminance": 0.76702
}

Semantic roles & 50–950 ramp

primary
#C6F271
secondary
#6D3CCB
accent
#06E050
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C6F271

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

Preview Lab → · Contrast checker → · Palette generator →

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