#C8F971#C8F971

#C8F971 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.172 H 126.1°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#C8F971
RGBrgb(200, 249, 113)
HSLhsl(82, 92%, 71%)
HSVhsv(82, 55%, 98%)
CMYKcmyk(19.7%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.23, -35.99, 59.27)
CIE-LCHlch(92.23, 69.34, 121.27°)
OKLaboklab(92.06% -0.1015 0.1391)
OKLCHoklch(92.06% 0.172 126.1)
XYZxyz(60.6757, 81.2222, 28.1004)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F971 #A271F9
analogous
#F9E671 #C8F971 #84F971
triadic
#C8F971 #71C8F9 #F971C8
tetradic
#C8F971 #71F9E6 #A271F9 #F97184
square
#C8F971 #71F9E6 #A271F9 #F97184
split-complementary
#C8F971 #7184F9 #E671F9
monochromatic
#97E60A #B1F736 #C8F971 #DFFBAC #F4FEE2

Accessibility & contrast

On white

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

On black

17.24
#C8F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F971
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F971#FFFFFF#000000##000000
##C8F9711.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#CFEFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f971;
/* rgb */ color: rgb(200, 249, 113);
/* oklch */ color: oklch(92.1% 0.172 126.1);
Tailwind
colors: {
  custom: {
    50: '#dbfb9d',
    500: '#c8f971',
    950: '#000000',
  },
}
SCSS
$custom: #c8f971;
$custom-light: #dbfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f971",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 81.618,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92063,
    "c": 0.17222,
    "h": 126.1
  },
  "luminance": 0.81223
}

Semantic roles & 50–950 ramp

primary
#C8F971
secondary
#723AD4
accent
#00E653
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F971

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

Preview Lab → · Contrast checker → · Palette generator →

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