#C5F786#C5F786

#C5F786 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.7% C 0.151 H 128.6°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#C5F786
RGBrgb(197, 247, 134)
HSLhsl(87, 88%, 75%)
HSVhsv(87, 46%, 97%)
CMYKcmyk(20.2%, 0%, 45.7%, 3.1%)
CIE-LABlab(91.74, -34.06, 48.98)
CIE-LCHlch(91.74, 59.66, 124.81°)
OKLaboklab(91.69% -0.0944 0.1182)
OKLCHoklch(91.69% 0.151 128.6)
XYZxyz(60.5892, 80.1121, 34.8207)
Luminance0.8011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F786 #B886F7
analogous
#F7F186 #C5F786 #8CF786
triadic
#C5F786 #86C5F7 #F786C5
tetradic
#C5F786 #86F7F1 #B886F7 #F7868C
square
#C5F786 #86F7F1 #B886F7 #F7868C
split-complementary
#C5F786 #868CF7 #F186F7
monochromatic
#8EEF13 #A9F34D #C5F786 #E1FBBF #F1FDE2

Accessibility & contrast

On white

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

On black

17.02
#C5F786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F786
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F786#FFFFFF#000000##000000
##C5F7861.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#C9EEDC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c5f786;
/* rgb */ color: rgb(197, 247, 134);
/* oklch */ color: oklch(91.7% 0.151 128.6);
Tailwind
colors: {
  custom: {
    50: '#d8faab',
    500: '#c5f786',
    950: '#000000',
  },
}
SCSS
$custom: #c5f786;
$custom-light: #d8faab;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f786",
  "rgb": {
    "r": 197,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 86.549,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91693,
    "c": 0.15122,
    "h": 128.6
  },
  "luminance": 0.80113
}

Semantic roles & 50–950 ramp

primary
#C5F786
secondary
#894DD4
accent
#01E466
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #C5F786

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

Preview Lab → · Contrast checker → · Palette generator →

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