#C5F97E#C5F97E

#C5F97E is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.0% C 0.162 H 128.1°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#C5F97E
RGBrgb(197, 249, 126)
HSLhsl(85, 91%, 74%)
HSVhsv(85, 49%, 98%)
CMYKcmyk(20.9%, 0%, 49.4%, 2.4%)
CIE-LABlab(92.19, -35.83, 53.29)
CIE-LCHlch(92.19, 64.21, 123.91°)
OKLaboklab(92.03% -0.0999 0.1272)
OKLCHoklch(92.03% 0.162 128.1)
XYZxyz(60.6671, 81.1271, 32.1975)
Luminance0.8113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F97E #B27EF9
analogous
#F9EF7E #C5F97E #87F97E
triadic
#C5F97E #7EC5F9 #F97EC5
tetradic
#C5F97E #7EF9EF #B27EF9 #F97E87
square
#C5F97E #7EF9EF #B27EF9 #F97E87
split-complementary
#C5F97E #7E87F9 #EF7EF9
monochromatic
#90F10B #ABF644 #C5F97E #DFFCB8 #F2FEE2

Accessibility & contrast

On white

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

On black

17.23
#C5F97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F97E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F97E#FFFFFF#000000##000000
##C5F97E1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5f97e;
/* rgb */ color: rgb(197, 249, 126);
/* oklch */ color: oklch(92.0% 0.162 128.1);
Tailwind
colors: {
  custom: {
    50: '#d9fba6',
    500: '#c5f97e',
    950: '#000000',
  },
}
SCSS
$custom: #c5f97e;
$custom-light: #d9fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f97e",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 85.366,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92027,
    "c": 0.16171,
    "h": 128.1
  },
  "luminance": 0.81128
}

Semantic roles & 50–950 ramp

primary
#C5F97E
secondary
#8245D6
accent
#00E661
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F97E

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

Preview Lab → · Contrast checker → · Palette generator →

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