#C7F971#C7F971

#C7F971 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.0% C 0.173 H 126.4°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#C7F971
RGBrgb(199, 249, 113)
HSLhsl(82, 92%, 71%)
HSVhsv(82, 55%, 98%)
CMYKcmyk(20.1%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.17, -36.36, 59.18)
CIE-LCHlch(92.17, 69.46, 121.56°)
OKLaboklab(92% -0.1025 0.139)
OKLCHoklch(92% 0.173 126.4)
XYZxyz(60.4094, 81.0850, 28.0879)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F971 #A371F9
analogous
#F9E771 #C7F971 #83F971
triadic
#C7F971 #71C7F9 #F971C7
tetradic
#C7F971 #71F9E7 #A371F9 #F97183
square
#C7F971 #71F9E7 #A371F9 #F97183
split-complementary
#C7F971 #7183F9 #E771F9
monochromatic
#95E60A #B0F736 #C7F971 #DEFBAC #F3FEE2

Accessibility & contrast

On white

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

On black

17.22
#C7F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F971
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F971#FFFFFF#000000##000000
##C7F9711.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#CEEFDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c7f971;
/* rgb */ color: rgb(199, 249, 113);
/* oklch */ color: oklch(92.0% 0.173 126.4);
Tailwind
colors: {
  custom: {
    50: '#dbfb9d',
    500: '#c7f971',
    950: '#000000',
  },
}
SCSS
$custom: #c7f971;
$custom-light: #dbfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f971",
  "rgb": {
    "r": 199,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 82.059,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91998,
    "c": 0.17266,
    "h": 126.4
  },
  "luminance": 0.81086
}

Semantic roles & 50–950 ramp

primary
#C7F971
secondary
#733AD4
accent
#00E654
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C7F971

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

Preview Lab → · Contrast checker → · Palette generator →

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