#C5F87F#C5F87F

#C5F87F is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 91.8% C 0.159 H 128.0°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#C5F87F
RGBrgb(197, 248, 127)
HSLhsl(85, 90%, 74%)
HSVhsv(85, 49%, 97%)
CMYKcmyk(20.6%, 0%, 48.8%, 2.7%)
CIE-LABlab(91.92, -35.27, 52.50)
CIE-LCHlch(91.92, 63.25, 123.89°)
OKLaboklab(91.82% -0.0982 0.1255)
OKLCHoklch(91.82% 0.159 128)
XYZxyz(60.4237, 80.5365, 32.4362)
Luminance0.8054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F87F #B27FF8
analogous
#F8EE7F #C5F87F #88F87F
triadic
#C5F87F #7FC5F8 #F87FC5
tetradic
#C5F87F #7FF8EE #B27FF8 #F87F88
square
#C5F87F #7FF8EE #B27FF8 #F87F88
split-complementary
#C5F87F #7F88F8 #EE7FF8
monochromatic
#90F00D #ABF545 #C5F87F #DFFBB9 #F2FDE2

Accessibility & contrast

On white

1.23
#C5F87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#C5F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F87F
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F87F#FFFFFF#000000##000000
##C5F87F1.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FBE786
Tritanopia (blue-blind)
#CAEFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c5f87f;
/* rgb */ color: rgb(197, 248, 127);
/* oklch */ color: oklch(91.8% 0.159 128.0);
Tailwind
colors: {
  custom: {
    50: '#d9faa6',
    500: '#c5f87f',
    950: '#000000',
  },
}
SCSS
$custom: #c5f87f;
$custom-light: #d9faa6;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f87f",
  "rgb": {
    "r": 197,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 85.289,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91819,
    "c": 0.1594,
    "h": 128
  },
  "luminance": 0.80537
}

Semantic roles & 50–950 ramp

primary
#C5F87F
secondary
#8246D5
accent
#00E661
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C5F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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