#C8F998#C8F998

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

Color values

HEX#C8F998
RGBrgb(200, 249, 152)
HSLhsl(90, 89%, 79%)
HSVhsv(90, 39%, 98%)
CMYKcmyk(19.7%, 0%, 39%, 2.4%)
CIE-LABlab(92.71, -31.78, 41.55)
CIE-LCHlch(92.71, 52.31, 127.41°)
OKLaboklab(92.6% -0.0871 0.1021)
OKLCHoklch(92.6% 0.134 130.5)
XYZxyz(63.3616, 82.2966, 42.2463)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F998 #C998F9
analogous
#F9F998 #C8F998 #98F998
triadic
#C8F998 #98C8F9 #F998C8
tetradic
#C8F998 #98F9F9 #C998F9 #F99898
square
#C8F998 #98F9F9 #C998F9 #F99898
split-complementary
#C8F998 #9898F9 #F998F9
monochromatic
#8AF224 #A9F65E #C8F998 #E7FCD2 #F0FDE2

Accessibility & contrast

On white

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

On black

17.46
#C8F998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F998
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F998#FFFFFF#000000##000000
##C8F9981.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8f998;
/* rgb */ color: rgb(200, 249, 152);
/* oklch */ color: oklch(92.6% 0.134 130.5);
Tailwind
colors: {
  custom: {
    50: '#dafbb7',
    500: '#c8f998',
    950: '#000000',
  },
}
SCSS
$custom: #c8f998;
$custom-light: #dafbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f998",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 152
  },
  "hsl": {
    "h": 90.309,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92601,
    "c": 0.13425,
    "h": 130.5
  },
  "luminance": 0.82298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8F998

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

Preview Lab → · Contrast checker → · Palette generator →

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