#C7F271#C7F271

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

Color values

HEX#C7F271
RGBrgb(199, 242, 113)
HSLhsl(80, 83%, 70%)
HSVhsv(80, 53%, 95%)
CMYKcmyk(17.8%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.25, -33.17, 56.95)
CIE-LCHlch(90.25, 65.90, 120.22°)
OKLaboklab(90.45% -0.0936 0.1341)
OKLCHoklch(90.45% 0.164 124.9)
XYZxyz(58.2860, 76.8381, 27.3801)
Luminance0.7684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F271 #9C71F2
analogous
#F2DD71 #C7F271 #87F271
triadic
#C7F271 #71C7F2 #F271C7
tetradic
#C7F271 #71F2DD #9C71F2 #F27187
square
#C7F271 #71F2DD #9C71F2 #F27187
split-complementary
#C7F271 #7187F2 #DD71F2
monochromatic
#95D514 #B1ED39 #C7F271 #DDF7A9 #F3FCE1

Accessibility & contrast

On white

1.28
#C7F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#C7F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F271
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F271#FFFFFF#000000##000000
##C7F2711.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#CEE8D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c7f271;
/* rgb */ color: rgb(199, 242, 113);
/* oklch */ color: oklch(90.4% 0.164 124.9);
Tailwind
colors: {
  custom: {
    50: '#daf69d',
    500: '#c7f271',
    950: '#000000',
  },
}
SCSS
$custom: #c7f271;
$custom-light: #daf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f271",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 80,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90448,
    "c": 0.16354,
    "h": 124.9
  },
  "luminance": 0.76839
}

Semantic roles & 50–950 ramp

primary
#C7F271
secondary
#6C3CCB
accent
#06E04E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C7F271

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

Preview Lab → · Contrast checker → · Palette generator →

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