#C5F980#C5F980

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

Color values

HEX#C5F980
RGBrgb(197, 249, 128)
HSLhsl(86, 91%, 74%)
HSVhsv(86, 49%, 98%)
CMYKcmyk(20.9%, 0%, 48.6%, 2.4%)
CIE-LABlab(92.21, -35.62, 52.39)
CIE-LCHlch(92.21, 63.35, 124.21°)
OKLaboklab(92.05% -0.0991 0.1253)
OKLCHoklch(92.05% 0.16 128.3)
XYZxyz(60.7975, 81.1792, 32.8839)
Luminance0.8118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F980 #B480F9
analogous
#F9F080 #C5F980 #89F980
triadic
#C5F980 #80C5F9 #F980C5
tetradic
#C5F980 #80F9F0 #B480F9 #F98089
square
#C5F980 #80F9F0 #B480F9 #F98089
split-complementary
#C5F980 #8089F9 #F080F9
monochromatic
#90F30B #AAF646 #C5F980 #E0FCBA #F2FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5F980#FFFFFF#000000##000000
##C5F9801.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)
#FFEB75
Deuteranopia (green-blind)
#FCE887
Tritanopia (blue-blind)
#CAF0DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c5f980;
/* rgb */ color: rgb(197, 249, 128);
/* oklch */ color: oklch(92.1% 0.160 128.3);
Tailwind
colors: {
  custom: {
    50: '#d9fba7',
    500: '#c5f980',
    950: '#000000',
  },
}
SCSS
$custom: #c5f980;
$custom-light: #d9fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f980",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 85.785,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92054,
    "c": 0.15981,
    "h": 128.3
  },
  "luminance": 0.8118
}

Semantic roles & 50–950 ramp

primary
#C5F980
secondary
#8547D6
accent
#00E663
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C5F980

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

Preview Lab → · Contrast checker → · Palette generator →

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