#C8F271#C8F271

#C8F271 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.5% C 0.163 H 124.6°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#C8F271
RGBrgb(200, 242, 113)
HSLhsl(80, 83%, 70%)
HSVhsv(80, 53%, 95%)
CMYKcmyk(17.4%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.31, -32.79, 57.04)
CIE-LCHlch(90.31, 65.79, 119.90°)
OKLaboklab(90.52% -0.0926 0.1343)
OKLCHoklch(90.52% 0.163 124.6)
XYZxyz(58.5523, 76.9754, 27.3926)
Luminance0.7698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F271 #9B71F2
analogous
#F2DC71 #C8F271 #88F271
triadic
#C8F271 #71C8F2 #F271C8
tetradic
#C8F271 #71F2DC #9B71F2 #F27188
square
#C8F271 #71F2DC #9B71F2 #F27188
split-complementary
#C8F271 #7188F2 #DC71F2
monochromatic
#96D514 #B2ED39 #C8F271 #DEF7A9 #F3FCE1

Accessibility & contrast

On white

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

On black

16.40
#C8F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F271
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F271#FFFFFF#000000##000000
##C8F2711.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#D0E8D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c8f271;
/* rgb */ color: rgb(200, 242, 113);
/* oklch */ color: oklch(90.5% 0.163 124.6);
Tailwind
colors: {
  custom: {
    50: '#dbf69d',
    500: '#c8f271',
    950: '#000000',
  },
}
SCSS
$custom: #c8f271;
$custom-light: #dbf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f271",
  "rgb": {
    "r": 200,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 79.535,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90515,
    "c": 0.16313,
    "h": 124.6
  },
  "luminance": 0.76976
}

Semantic roles & 50–950 ramp

primary
#C8F271
secondary
#6B3CCB
accent
#06E04D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F271

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

Preview Lab → · Contrast checker → · Palette generator →

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