#C5F154#C5F154

#C5F154 is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.8% C 0.186 H 123.6°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#C5F154
RGBrgb(197, 241, 84)
HSLhsl(77, 85%, 64%)
HSVhsv(77, 65%, 95%)
CMYKcmyk(18.3%, 0%, 65.1%, 5.5%)
CIE-LABlab(89.59, -35.76, 68.38)
CIE-LCHlch(89.59, 77.17, 117.60°)
OKLaboklab(89.8% -0.1032 0.1553)
OKLCHoklch(89.8% 0.186 123.6)
XYZxyz(56.0820, 75.4206, 19.9889)
Luminance0.7542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F154 #8054F1
analogous
#F1CE54 #C5F154 #76F154
triadic
#C5F154 #54C5F1 #F154C5
tetradic
#C5F154 #54F1CE #8054F1 #F15476
square
#C5F154 #54F1CE #8054F1 #F15476
split-complementary
#C5F154 #5476F1 #CE54F1
monochromatic
#8BBB0F #B2EC1B #C5F154 #D8F68D #EBFAC5

Accessibility & contrast

On white

1.31
#C5F154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#C5F154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F154
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F154#FFFFFF#000000##000000
##C5F1541.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5f154;
/* rgb */ color: rgb(197, 241, 84);
/* oklch */ color: oklch(89.8% 0.186 123.6);
Tailwind
colors: {
  custom: {
    50: '#daf58b',
    500: '#c5f154',
    950: '#000000',
  },
}
SCSS
$custom: #c5f154;
$custom-light: #daf58b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f154",
  "rgb": {
    "r": 197,
    "g": 241,
    "b": 84
  },
  "hsl": {
    "h": 76.815,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89803,
    "c": 0.18645,
    "h": 123.6
  },
  "luminance": 0.75421
}

Semantic roles & 50–950 ramp

primary
#C5F154
secondary
#562FBA
accent
#04E142
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F154

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

Preview Lab → · Contrast checker → · Palette generator →

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