#C8F198#C8F198

#C8F198 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.9% C 0.123 H 128.7°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#C8F198
RGBrgb(200, 241, 152)
HSLhsl(88, 76%, 77%)
HSVhsv(88, 37%, 95%)
CMYKcmyk(17%, 0%, 36.9%, 5.5%)
CIE-LABlab(90.53, -28.04, 38.74)
CIE-LCHlch(90.53, 47.82, 125.90°)
OKLaboklab(90.85% -0.0767 0.0956)
OKLCHoklch(90.85% 0.123 128.7)
XYZxyz(60.9414, 77.4562, 41.4396)
Luminance0.7746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F198 #C198F1
analogous
#F1ED98 #C8F198 #9CF198
triadic
#C8F198 #98C8F1 #F198C8
tetradic
#C8F198 #98F1ED #C198F1 #F1989C
square
#C8F198 #98F1ED #C198F1 #F1989C
split-complementary
#C8F198 #989CF1 #ED98F1
monochromatic
#8EE22C #ABEA62 #C8F198 #E5F8CE #F1FBE4

Accessibility & contrast

On white

1.27
#C8F198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#C8F198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F198
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F198#FFFFFF#000000##000000
##C8F1981.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E692
Deuteranopia (green-blind)
#F3E39D
Tritanopia (blue-blind)
#CCEADB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c8f198;
/* rgb */ color: rgb(200, 241, 152);
/* oklch */ color: oklch(90.9% 0.123 128.7);
Tailwind
colors: {
  custom: {
    50: '#daf5b7',
    500: '#c8f198',
    950: '#000000',
  },
}
SCSS
$custom: #c8f198;
$custom-light: #daf5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f198",
  "rgb": {
    "r": 200,
    "g": 241,
    "b": 152
  },
  "hsl": {
    "h": 87.64,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.90853,
    "c": 0.12258,
    "h": 128.7
  },
  "luminance": 0.77457
}

Semantic roles & 50–950 ramp

primary
#C8F198
secondary
#925FCE
accent
#0DD86B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F198

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

Preview Lab → · Contrast checker → · Palette generator →

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