#C5F978#C5F978

#C5F978 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.0% C 0.167 H 127.6°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#C5F978
RGBrgb(197, 249, 120)
HSLhsl(84, 91%, 72%)
HSVhsv(84, 52%, 98%)
CMYKcmyk(20.9%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.12, -36.43, 55.96)
CIE-LCHlch(92.12, 66.77, 123.06°)
OKLaboklab(91.95% -0.102 0.1326)
OKLCHoklch(91.95% 0.167 127.6)
XYZxyz(60.2915, 80.9768, 30.2193)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F978 #AC78F9
analogous
#F9EC78 #C5F978 #85F978
triadic
#C5F978 #78C5F9 #F978C5
tetradic
#C5F978 #78F9EC #AC78F9 #F97885
square
#C5F978 #78F9EC #AC78F9 #F97885
split-complementary
#C5F978 #7885F9 #EC78F9
monochromatic
#91EC0A #ACF63D #C5F978 #DEFCB3 #F2FEE2

Accessibility & contrast

On white

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

On black

17.20
#C5F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F978
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F978#FFFFFF#000000##000000
##C5F9781.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#CBEFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c5f978;
/* rgb */ color: rgb(197, 249, 120);
/* oklch */ color: oklch(92.0% 0.167 127.6);
Tailwind
colors: {
  custom: {
    50: '#d9fba2',
    500: '#c5f978',
    950: '#000000',
  },
}
SCSS
$custom: #c5f978;
$custom-light: #d9fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f978",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 84.186,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91952,
    "c": 0.16728,
    "h": 127.6
  },
  "luminance": 0.80978
}

Semantic roles & 50–950 ramp

primary
#C5F978
secondary
#7C40D5
accent
#00E65D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F978

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

Preview Lab → · Contrast checker → · Palette generator →

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