#C8F979#C8F979

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

Color values

HEX#C8F979
RGBrgb(200, 249, 121)
HSLhsl(83, 91%, 73%)
HSVhsv(83, 51%, 98%)
CMYKcmyk(19.7%, 0%, 51.4%, 2.4%)
CIE-LABlab(92.31, -35.24, 55.78)
CIE-LCHlch(92.31, 65.98, 122.28°)
OKLaboklab(92.16% -0.0987 0.1322)
OKLCHoklch(92.16% 0.165 126.8)
XYZxyz(61.1461, 81.4104, 30.5778)
Luminance0.8141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F979 #AA79F9
analogous
#F9EA79 #C8F979 #88F979
triadic
#C8F979 #79C8F9 #F979C8
tetradic
#C8F979 #79F9EA #AA79F9 #F97988
square
#C8F979 #79F9EA #AA79F9 #F97988
split-complementary
#C8F979 #7988F9 #EA79F9
monochromatic
#96ED0B #B0F63E #C8F979 #E0FCB4 #F3FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8F979#FFFFFF#000000##000000
##C8F9791.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)
#FFEB6D
Deuteranopia (green-blind)
#FDE881
Tritanopia (blue-blind)
#CEEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f979;
/* rgb */ color: rgb(200, 249, 121);
/* oklch */ color: oklch(92.2% 0.165 126.8);
Tailwind
colors: {
  custom: {
    50: '#dbfba3',
    500: '#c8f979',
    950: '#000000',
  },
}
SCSS
$custom: #c8f979;
$custom-light: #dbfba3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f979",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 82.969,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92158,
    "c": 0.16504,
    "h": 126.8
  },
  "luminance": 0.81411
}

Semantic roles & 50–950 ramp

primary
#C8F979
secondary
#7A41D5
accent
#00E658
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F979

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

Preview Lab → · Contrast checker → · Palette generator →

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