#C5F85F#C5F85F

#C5F85F is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.5% C 0.187 H 125.6°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#C5F85F
RGBrgb(197, 248, 95)
HSLhsl(80, 92%, 67%)
HSVhsv(80, 62%, 97%)
CMYKcmyk(20.6%, 0%, 61.7%, 2.7%)
CIE-LABlab(91.61, -38.13, 66.18)
CIE-LCHlch(91.61, 76.38, 119.95°)
OKLaboklab(91.46% -0.1088 0.152)
OKLCHoklch(91.46% 0.187 125.6)
XYZxyz(58.6591, 79.8306, 23.1427)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F85F #925FF8
analogous
#F8DF5F #C5F85F #79F85F
triadic
#C5F85F #5FC5F8 #F85FC5
tetradic
#C5F85F #5FF8DF #925FF8 #F85F79
square
#C5F85F #5FF8DF #925FF8 #F85F79
split-complementary
#C5F85F #5F79F8 #DF5FF8
monochromatic
#90D309 #B0F524 #C5F85F #DAFB9A #F0FDD4

Accessibility & contrast

On white

1.24
#C5F85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#C5F85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F85F
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F85F#FFFFFF#000000##000000
##C5F85F1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94C
Deuteranopia (green-blind)
#FEE66A
Tritanopia (blue-blind)
#CDEDD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c5f85f;
/* rgb */ color: rgb(197, 248, 95);
/* oklch */ color: oklch(91.5% 0.187 125.6);
Tailwind
colors: {
  custom: {
    50: '#dafa92',
    500: '#c5f85f',
    950: '#000000',
  },
}
SCSS
$custom: #c5f85f;
$custom-light: #dafa92;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f85f",
  "rgb": {
    "r": 197,
    "g": 248,
    "b": 95
  },
  "hsl": {
    "h": 80,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91462,
    "c": 0.18696,
    "h": 125.6
  },
  "luminance": 0.79831
}

Semantic roles & 50–950 ramp

primary
#C5F85F
secondary
#632DCE
accent
#00E64D
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F85F

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

Preview Lab → · Contrast checker → · Palette generator →

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