#C8F978#C8F978

#C8F978 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.1% C 0.166 H 126.7°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#C8F978
RGBrgb(200, 249, 120)
HSLhsl(83, 91%, 72%)
HSVhsv(83, 52%, 98%)
CMYKcmyk(19.7%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.30, -35.34, 56.22)
CIE-LCHlch(92.30, 66.40, 122.15°)
OKLaboklab(92.15% -0.0991 0.1331)
OKLCHoklch(92.15% 0.166 126.7)
XYZxyz(61.0851, 81.3860, 30.2565)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F978 #A978F9
analogous
#F9EA78 #C8F978 #87F978
triadic
#C8F978 #78C8F9 #F978C8
tetradic
#C8F978 #78F9EA #A978F9 #F97887
square
#C8F978 #78F9EA #A978F9 #F97887
split-complementary
#C8F978 #7887F9 #EA78F9
monochromatic
#96EC0A #B0F63D #C8F978 #E0FCB3 #F3FEE2

Accessibility & contrast

On white

1.22
#C8F978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#C8F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F978
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F978#FFFFFF#000000##000000
##C8F9781.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#CEEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f978;
/* rgb */ color: rgb(200, 249, 120);
/* oklch */ color: oklch(92.1% 0.166 126.7);
Tailwind
colors: {
  custom: {
    50: '#dbfba2',
    500: '#c8f978',
    950: '#000000',
  },
}
SCSS
$custom: #c8f978;
$custom-light: #dbfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f978",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 82.791,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92146,
    "c": 0.16597,
    "h": 126.7
  },
  "luminance": 0.81387
}

Semantic roles & 50–950 ramp

primary
#C8F978
secondary
#7940D5
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F978

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

Preview Lab → · Contrast checker → · Palette generator →

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