#C8FA97#C8FA97

#C8FA97 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.137 H 130.5°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#C8FA97
RGBrgb(200, 250, 151)
HSLhsl(90, 91%, 79%)
HSVhsv(90, 40%, 98%)
CMYKcmyk(20%, 0%, 39.6%, 2%)
CIE-LABlab(92.96, -32.36, 42.37)
CIE-LCHlch(92.96, 53.32, 127.37°)
OKLaboklab(92.8% -0.0888 0.104)
OKLCHoklch(92.8% 0.137 130.5)
XYZxyz(63.5900, 82.8838, 41.9201)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8FA97 #C997FA
analogous
#FAFA97 #C8FA97 #97FA97
triadic
#C8FA97 #97C8FA #FA97C8
tetradic
#C8FA97 #97FAFA #C997FA #FA9797
square
#C8FA97 #97FAFA #C997FA #FA9797
split-complementary
#C8FA97 #9797FA #FA97FA
monochromatic
#8AF422 #A9F75D #C8FA97 #E7FDD1 #F0FEE2

Accessibility & contrast

On white

1.19
#C8FA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#C8FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8FA97
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8FA97#FFFFFF#000000##000000
##C8FA971.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8fa97;
/* rgb */ color: rgb(200, 250, 151);
/* oklch */ color: oklch(92.8% 0.137 130.5);
Tailwind
colors: {
  custom: {
    50: '#dafcb7',
    500: '#c8fa97',
    950: '#000000',
  },
}
SCSS
$custom: #c8fa97;
$custom-light: #dafcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8fa97",
  "rgb": {
    "r": 200,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 90.303,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92803,
    "c": 0.13674,
    "h": 130.5
  },
  "luminance": 0.82885
}

Semantic roles & 50–950 ramp

primary
#C8FA97
secondary
#9B5BDA
accent
#00E674
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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