#C5F158#C5F158

#C5F158 is a very light, vivid yellow-green. Relative luminance 0.755; OKLCH L 89.8% C 0.184 H 123.8°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#C5F158
RGBrgb(197, 241, 88)
HSLhsl(77, 85%, 65%)
HSVhsv(77, 63%, 95%)
CMYKcmyk(18.3%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.62, -35.49, 66.85)
CIE-LCHlch(89.62, 75.68, 117.96°)
OKLaboklab(89.84% -0.1021 0.1526)
OKLCHoklch(89.84% 0.184 123.8)
XYZxyz(56.2431, 75.4851, 20.8377)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F158 #8458F1
analogous
#F1D158 #C5F158 #79F158
triadic
#C5F158 #58C5F1 #F158C5
tetradic
#C5F158 #58F1D1 #8458F1 #F15879
square
#C5F158 #58F1D1 #8458F1 #F15879
split-complementary
#C5F158 #5879F1 #D158F1
monochromatic
#8CBF10 #B1EC20 #C5F158 #D9F690 #ECFAC9

Accessibility & contrast

On white

1.30
#C5F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#C5F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F158
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F158#FFFFFF#000000##000000
##C5F1581.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE344
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#CEE6D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c5f158;
/* rgb */ color: rgb(197, 241, 88);
/* oklch */ color: oklch(89.8% 0.184 123.8);
Tailwind
colors: {
  custom: {
    50: '#daf58e',
    500: '#c5f158',
    950: '#000000',
  },
}
SCSS
$custom: #c5f158;
$custom-light: #daf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f158",
  "rgb": {
    "r": 197,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 77.255,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89837,
    "c": 0.18359,
    "h": 123.8
  },
  "luminance": 0.75485
}

Semantic roles & 50–950 ramp

primary
#C5F158
secondary
#5930BD
accent
#05E144
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F158

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

Preview Lab → · Contrast checker → · Palette generator →

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