#C8F371#C8F371

#C8F371 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.7% C 0.164 H 124.8°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#C8F371
RGBrgb(200, 243, 113)
HSLhsl(80, 84%, 70%)
HSVhsv(80, 53%, 95%)
CMYKcmyk(17.7%, 0%, 53.5%, 4.7%)
CIE-LABlab(90.58, -33.25, 57.36)
CIE-LCHlch(90.58, 66.30, 120.10°)
OKLaboklab(90.74% -0.0939 0.135)
OKLCHoklch(90.74% 0.164 124.8)
XYZxyz(58.8507, 77.5723, 27.4921)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F371 #9C71F3
analogous
#F3DD71 #C8F371 #87F371
triadic
#C8F371 #71C8F3 #F371C8
tetradic
#C8F371 #71F3DD #9C71F3 #F37187
square
#C8F371 #71F3DD #9C71F3 #F37187
split-complementary
#C8F371 #7187F3 #DD71F3
monochromatic
#96D712 #B2EE39 #C8F371 #DEF8A9 #F4FDE2

Accessibility & contrast

On white

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

On black

16.51
#C8F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F371
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F371#FFFFFF#000000##000000
##C8F3711.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE564
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#CFE9D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c8f371;
/* rgb */ color: rgb(200, 243, 113);
/* oklch */ color: oklch(90.7% 0.164 124.8);
Tailwind
colors: {
  custom: {
    50: '#dbf79d',
    500: '#c8f371',
    950: '#000000',
  },
}
SCSS
$custom: #c8f371;
$custom-light: #dbf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f371",
  "rgb": {
    "r": 200,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 79.846,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90736,
    "c": 0.16443,
    "h": 124.8
  },
  "luminance": 0.77573
}

Semantic roles & 50–950 ramp

primary
#C8F371
secondary
#6C3BCD
accent
#05E14D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F371

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

Preview Lab → · Contrast checker → · Palette generator →

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