#C8F997#C8F997

#C8F997 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.135 H 130.3°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#C8F997
RGBrgb(200, 249, 151)
HSLhsl(90, 89%, 78%)
HSVhsv(90, 39%, 98%)
CMYKcmyk(19.7%, 0%, 39.4%, 2.4%)
CIE-LABlab(92.69, -31.90, 42.02)
CIE-LCHlch(92.69, 52.76, 127.20°)
OKLaboklab(92.58% -0.0875 0.1032)
OKLCHoklch(92.58% 0.135 130.3)
XYZxyz(63.2801, 82.2640, 41.8168)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F997 #C897F9
analogous
#F9F997 #C8F997 #97F997
triadic
#C8F997 #97C8F9 #F997C8
tetradic
#C8F997 #97F9F9 #C897F9 #F99797
square
#C8F997 #97F9F9 #C897F9 #F99797
split-complementary
#C8F997 #9797F9 #F997F9
monochromatic
#8BF223 #A9F65D #C8F997 #E7FCD1 #F0FDE2

Accessibility & contrast

On white

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

On black

17.45
#C8F997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F997
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F997#FFFFFF#000000##000000
##C8F9971.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#CBF1E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #c8f997;
/* rgb */ color: rgb(200, 249, 151);
/* oklch */ color: oklch(92.6% 0.135 130.3);
Tailwind
colors: {
  custom: {
    50: '#dafbb7',
    500: '#c8f997',
    950: '#000000',
  },
}
SCSS
$custom: #c8f997;
$custom-light: #dafbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f997",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 90,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92584,
    "c": 0.1353,
    "h": 130.3
  },
  "luminance": 0.82265
}

Semantic roles & 50–950 ramp

primary
#C8F997
secondary
#9A5BD9
accent
#00E673
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F997

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

Preview Lab → · Contrast checker → · Palette generator →

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