#C5F152#C5F152

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

Color values

HEX#C5F152
RGBrgb(197, 241, 82)
HSLhsl(77, 85%, 63%)
HSVhsv(77, 66%, 95%)
CMYKcmyk(18.3%, 0%, 66%, 5.5%)
CIE-LABlab(89.58, -35.89, 69.13)
CIE-LCHlch(89.58, 77.89, 117.43°)
OKLaboklab(89.79% -0.1037 0.1566)
OKLCHoklch(89.79% 0.188 123.5)
XYZxyz(56.0048, 75.3898, 19.5822)
Luminance0.7539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F152 #7E52F1
analogous
#F1CE52 #C5F152 #75F152
triadic
#C5F152 #52C5F1 #F152C5
tetradic
#C5F152 #52F1CE #7E52F1 #F15275
square
#C5F152 #52F1CE #7E52F1 #F15275
split-complementary
#C5F152 #5275F1 #CE52F1
monochromatic
#8ABA0F #B2EC19 #C5F152 #D8F68B #EBFAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5F152#FFFFFF#000000##000000
##C5F1521.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)
#FEE23B
Deuteranopia (green-blind)
#F8E15E
Tritanopia (blue-blind)
#CEE6D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c5f152;
/* rgb */ color: rgb(197, 241, 82);
/* oklch */ color: oklch(89.8% 0.188 123.5);
Tailwind
colors: {
  custom: {
    50: '#daf58a',
    500: '#c5f152',
    950: '#000000',
  },
}
SCSS
$custom: #c5f152;
$custom-light: #daf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f152",
  "rgb": {
    "r": 197,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 76.604,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89787,
    "c": 0.18784,
    "h": 123.5
  },
  "luminance": 0.7539
}

Semantic roles & 50–950 ramp

primary
#C5F152
secondary
#552FB8
accent
#04E241
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C5F152

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

Preview Lab → · Contrast checker → · Palette generator →

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