#C0F871#C0F871

#C0F871 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.3% C 0.174 H 128.2°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#C0F871
RGBrgb(192, 248, 113)
HSLhsl(85, 91%, 71%)
HSVhsv(85, 54%, 97%)
CMYKcmyk(22.6%, 0%, 54.4%, 2.7%)
CIE-LABlab(91.47, -38.46, 58.27)
CIE-LCHlch(91.47, 69.82, 123.43°)
OKLaboklab(91.33% -0.1079 0.1371)
OKLCHoklch(91.33% 0.174 128.2)
XYZxyz(58.2860, 79.5325, 27.9001)
Luminance0.7953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0F871 #A971F8
analogous
#F8ED71 #C0F871 #7CF871
triadic
#C0F871 #71C0F8 #F871C0
tetradic
#C0F871 #71F8ED #A971F8 #F8717C
square
#C0F871 #71F8ED #A971F8 #F8717C
split-complementary
#C0F871 #717CF8 #ED71F8
monochromatic
#8AE30B #A6F537 #C0F871 #DAFBAB #F2FEE2

Accessibility & contrast

On white

1.24
#C0F871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#C0F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0F871
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0F871#FFFFFF#000000##000000
##C0F8711.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FBE57A
Tritanopia (blue-blind)
#C5EEDA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c0f871;
/* rgb */ color: rgb(192, 248, 113);
/* oklch */ color: oklch(91.3% 0.174 128.2);
Tailwind
colors: {
  custom: {
    50: '#d6fa9d',
    500: '#c0f871',
    950: '#000000',
  },
}
SCSS
$custom: #c0f871;
$custom-light: #d6fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0f871",
  "rgb": {
    "r": 192,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 84.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91329,
    "c": 0.17446,
    "h": 128.2
  },
  "luminance": 0.79534
}

Semantic roles & 50–950 ramp

primary
#C0F871
secondary
#7A3AD3
accent
#00E65F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C0F871

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

Preview Lab → · Contrast checker → · Palette generator →

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