#C8F098#C8F098

#C8F098 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.6% C 0.121 H 128.5°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#C8F098
RGBrgb(200, 240, 152)
HSLhsl(87, 75%, 77%)
HSVhsv(87, 37%, 94%)
CMYKcmyk(16.7%, 0%, 36.7%, 5.9%)
CIE-LABlab(90.26, -27.56, 38.38)
CIE-LCHlch(90.26, 47.26, 125.68°)
OKLaboklab(90.64% -0.0754 0.0948)
OKLCHoklch(90.64% 0.121 128.5)
XYZxyz(60.6462, 76.8658, 41.3412)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F098 #C098F0
analogous
#F0EC98 #C8F098 #9CF098
triadic
#C8F098 #98C8F0 #F098C8
tetradic
#C8F098 #98F0EC #C098F0 #F0989C
square
#C8F098 #98F0EC #C098F0 #F0989C
split-complementary
#C8F098 #989CF0 #EC98F0
monochromatic
#8FE02D #ABE863 #C8F098 #E5F8CD #F1FBE4

Accessibility & contrast

On white

1.28
#C8F098 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#C8F098 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F098
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F098#FFFFFF#000000##000000
##C8F0981.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E592
Deuteranopia (green-blind)
#F2E29D
Tritanopia (blue-blind)
#CCE9DA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c8f098;
/* rgb */ color: rgb(200, 240, 152);
/* oklch */ color: oklch(90.6% 0.121 128.5);
Tailwind
colors: {
  custom: {
    50: '#daf5b7',
    500: '#c8f098',
    950: '#000000',
  },
}
SCSS
$custom: #c8f098;
$custom-light: #daf5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f098",
  "rgb": {
    "r": 200,
    "g": 240,
    "b": 152
  },
  "hsl": {
    "h": 87.273,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.90635,
    "c": 0.12112,
    "h": 128.5
  },
  "luminance": 0.76867
}

Semantic roles & 50–950 ramp

primary
#C8F098
secondary
#915FCD
accent
#0FD76A
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F098

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

Preview Lab → · Contrast checker → · Palette generator →

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