#C8F296#C8F296

#C8F296 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.0% C 0.126 H 128.6°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#C8F296
RGBrgb(200, 242, 150)
HSLhsl(87, 78%, 77%)
HSVhsv(87, 38%, 95%)
CMYKcmyk(17.4%, 0%, 38%, 5.1%)
CIE-LABlab(90.77, -28.76, 40.04)
CIE-LCHlch(90.77, 49.30, 125.69°)
OKLaboklab(91.04% -0.0788 0.0986)
OKLCHoklch(91.04% 0.126 128.6)
XYZxyz(61.0758, 77.9848, 40.6831)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F296 #C096F2
analogous
#F2EE96 #C8F296 #9AF296
triadic
#C8F296 #96C8F2 #F296C8
tetradic
#C8F296 #96F2EE #C096F2 #F2969A
square
#C8F296 #96F2EE #C096F2 #F2969A
split-complementary
#C8F296 #969AF2 #EE96F2
monochromatic
#8FE529 #ABEB60 #C8F296 #E5F9CC #F1FCE4

Accessibility & contrast

On white

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

On black

16.60
#C8F296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F296
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F296#FFFFFF#000000##000000
##C8F2961.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE68F
Deuteranopia (green-blind)
#F4E49B
Tritanopia (blue-blind)
#CCEADB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #c8f296;
/* rgb */ color: rgb(200, 242, 150);
/* oklch */ color: oklch(91.0% 0.126 128.6);
Tailwind
colors: {
  custom: {
    50: '#daf6b6',
    500: '#c8f296',
    950: '#000000',
  },
}
SCSS
$custom: #c8f296;
$custom-light: #daf6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f296",
  "rgb": {
    "r": 200,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 87.391,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91038,
    "c": 0.1262,
    "h": 128.6
  },
  "luminance": 0.77986
}

Semantic roles & 50–950 ramp

primary
#C8F296
secondary
#915DCF
accent
#0BDA6A
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F296

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

Preview Lab → · Contrast checker → · Palette generator →

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