#C7F771#C7F771

#C7F771 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.6% C 0.170 H 126.0°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#C7F771
RGBrgb(199, 247, 113)
HSLhsl(81, 89%, 71%)
HSVhsv(81, 54%, 97%)
CMYKcmyk(19.4%, 0%, 54.3%, 3.1%)
CIE-LABlab(91.62, -35.45, 58.55)
CIE-LCHlch(91.62, 68.44, 121.20°)
OKLaboklab(91.56% -0.0999 0.1376)
OKLCHoklch(91.56% 0.17 126)
XYZxyz(59.7946, 79.8552, 27.8830)
Luminance0.7986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F771 #A171F7
analogous
#F7E471 #C7F771 #84F771
triadic
#C7F771 #71C7F7 #F771C7
tetradic
#C7F771 #71F7E4 #A171F7 #F77184
square
#C7F771 #71F7E4 #A171F7 #F77184
split-complementary
#C7F771 #7184F7 #E471F7
monochromatic
#95E10D #B0F437 #C7F771 #DEFAAB #F4FDE2

Accessibility & contrast

On white

1.24
#C7F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#C7F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F771
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F771#FFFFFF#000000##000000
##C7F7711.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FCE67A
Tritanopia (blue-blind)
#CEEDD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c7f771;
/* rgb */ color: rgb(199, 247, 113);
/* oklch */ color: oklch(91.6% 0.170 126.0);
Tailwind
colors: {
  custom: {
    50: '#dafa9d',
    500: '#c7f771',
    950: '#000000',
  },
}
SCSS
$custom: #c7f771;
$custom-light: #dafa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f771",
  "rgb": {
    "r": 199,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 81.493,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91555,
    "c": 0.17006,
    "h": 126
  },
  "luminance": 0.79856
}

Semantic roles & 50–950 ramp

primary
#C7F771
secondary
#713AD2
accent
#00E652
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C7F771

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

Preview Lab → · Contrast checker → · Palette generator →

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