#C7FA97#C7FA97

#C7FA97 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.7% C 0.137 H 130.9°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#C7FA97
RGBrgb(199, 250, 151)
HSLhsl(91, 91%, 79%)
HSVhsv(91, 40%, 98%)
CMYKcmyk(20.4%, 0%, 39.6%, 2%)
CIE-LABlab(92.90, -32.71, 42.28)
CIE-LCHlch(92.90, 53.46, 127.73°)
OKLaboklab(92.74% -0.0898 0.1038)
OKLCHoklch(92.74% 0.137 130.9)
XYZxyz(63.3237, 82.7465, 41.9076)
Luminance0.8275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7FA97 #CA97FA
analogous
#F9FA97 #C7FA97 #97FA98
triadic
#C7FA97 #97C7FA #FA97C7
tetradic
#C7FA97 #97F9FA #CA97FA #FA9897
square
#C7FA97 #97F9FA #CA97FA #FA9897
split-complementary
#C7FA97 #9897FA #FA97F9
monochromatic
#88F422 #A8F75D #C7FA97 #E6FDD1 #EFFEE2

Accessibility & contrast

On white

1.20
#C7FA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#C7FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7FA97
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7FA97#FFFFFF#000000##000000
##C7FA971.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#CAF2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #c7fa97;
/* rgb */ color: rgb(199, 250, 151);
/* oklch */ color: oklch(92.7% 0.137 130.9);
Tailwind
colors: {
  custom: {
    50: '#d9fcb7',
    500: '#c7fa97',
    950: '#000000',
  },
}
SCSS
$custom: #c7fa97;
$custom-light: #d9fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c7fa97",
  "rgb": {
    "r": 199,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 90.909,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.13721,
    "h": 130.9
  },
  "luminance": 0.82748
}

Semantic roles & 50–950 ramp

primary
#C7FA97
secondary
#9D5BDA
accent
#00E676
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C7FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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