#C5F982#C5F982

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

Color values

HEX#C5F982
RGBrgb(197, 249, 130)
HSLhsl(86, 91%, 74%)
HSVhsv(86, 48%, 98%)
CMYKcmyk(20.9%, 0%, 47.8%, 2.4%)
CIE-LABlab(92.23, -35.41, 51.48)
CIE-LCHlch(92.23, 62.48, 124.52°)
OKLaboklab(92.08% -0.0984 0.1235)
OKLCHoklch(92.08% 0.158 128.6)
XYZxyz(60.9304, 81.2324, 33.5841)
Luminance0.8123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F982 #B682F9
analogous
#F9F182 #C5F982 #8AF982
triadic
#C5F982 #82C5F9 #F982C5
tetradic
#C5F982 #82F9F1 #B682F9 #F9828A
square
#C5F982 #82F9F1 #B682F9 #F9828A
split-complementary
#C5F982 #828AF9 #F182F9
monochromatic
#8FF30D #AAF648 #C5F982 #E0FCBC #F1FEE2

Accessibility & contrast

On white

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

On black

17.25
#C5F982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F982
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F982#FFFFFF#000000##000000
##C5F9821.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB78
Deuteranopia (green-blind)
#FCE889
Tritanopia (blue-blind)
#CAF0DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c5f982;
/* rgb */ color: rgb(197, 249, 130);
/* oklch */ color: oklch(92.1% 0.158 128.6);
Tailwind
colors: {
  custom: {
    50: '#d9fba8',
    500: '#c5f982',
    950: '#000000',
  },
}
SCSS
$custom: #c5f982;
$custom-light: #d9fba8;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f982",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 86.218,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9208,
    "c": 0.15789,
    "h": 128.6
  },
  "luminance": 0.81233
}

Semantic roles & 50–950 ramp

primary
#C5F982
secondary
#8749D6
accent
#00E664
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #C5F982

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

Preview Lab → · Contrast checker → · Palette generator →

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