#C8F97F#C8F97F

#C8F97F is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.2% C 0.159 H 127.3°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#C8F97F
RGBrgb(200, 249, 127)
HSLhsl(84, 91%, 74%)
HSVhsv(84, 49%, 98%)
CMYKcmyk(19.7%, 0%, 49%, 2.4%)
CIE-LABlab(92.38, -34.64, 53.10)
CIE-LCHlch(92.38, 63.40, 123.12°)
OKLaboklab(92.23% -0.0966 0.1268)
OKLCHoklch(92.23% 0.159 127.3)
XYZxyz(61.5255, 81.5622, 32.5762)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F97F #B07FF9
analogous
#F9ED7F #C8F97F #8BF97F
triadic
#C8F97F #7FC8F9 #F97FC8
tetradic
#C8F97F #7FF9ED #B07FF9 #F97F8B
square
#C8F97F #7FF9ED #B07FF9 #F97F8B
split-complementary
#C8F97F #7F8BF9 #ED7FF9
monochromatic
#96F20B #AFF645 #C8F97F #E1FCB9 #F2FEE2

Accessibility & contrast

On white

1.21
#C8F97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#C8F97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F97F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F97F#FFFFFF#000000##000000
##C8F97F1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB74
Deuteranopia (green-blind)
#FDE886
Tritanopia (blue-blind)
#CEF0DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f97f;
/* rgb */ color: rgb(200, 249, 127);
/* oklch */ color: oklch(92.2% 0.159 127.3);
Tailwind
colors: {
  custom: {
    50: '#dbfba7',
    500: '#c8f97f',
    950: '#000000',
  },
}
SCSS
$custom: #c8f97f;
$custom-light: #dbfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f97f",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 84.098,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92234,
    "c": 0.15943,
    "h": 127.3
  },
  "luminance": 0.81563
}

Semantic roles & 50–950 ramp

primary
#C8F97F
secondary
#8046D6
accent
#00E65C
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C8F97F

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

Preview Lab → · Contrast checker → · Palette generator →

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