#C8F970#C8F970

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

Color values

HEX#C8F970
RGBrgb(200, 249, 112)
HSLhsl(81, 92%, 71%)
HSVhsv(81, 55%, 98%)
CMYKcmyk(19.7%, 0%, 55%, 2.4%)
CIE-LABlab(92.22, -36.08, 59.70)
CIE-LCHlch(92.22, 69.75, 121.15°)
OKLaboklab(92.05% -0.1018 0.14)
OKLCHoklch(92.05% 0.173 126)
XYZxyz(60.6197, 81.1999, 27.8055)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F970 #A170F9
analogous
#F9E570 #C8F970 #83F970
triadic
#C8F970 #70C8F9 #F970C8
tetradic
#C8F970 #70F9E5 #A170F9 #F97083
square
#C8F970 #70F9E5 #A170F9 #F97083
split-complementary
#C8F970 #7083F9 #E570F9
monochromatic
#97E50A #B1F735 #C8F970 #DFFBAB #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8F970#FFFFFF#000000##000000
##C8F9701.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)
#FFEB62
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#CFEFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f970;
/* rgb */ color: rgb(200, 249, 112);
/* oklch */ color: oklch(92.1% 0.173 126.0);
Tailwind
colors: {
  custom: {
    50: '#dbfb9d',
    500: '#c8f970',
    950: '#000000',
  },
}
SCSS
$custom: #c8f970;
$custom-light: #dbfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f970",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 81.46,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92052,
    "c": 0.17309,
    "h": 126
  },
  "luminance": 0.81201
}

Semantic roles & 50–950 ramp

primary
#C8F970
secondary
#7139D4
accent
#00E652
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F970

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

Preview Lab → · Contrast checker → · Palette generator →

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