#C5F252#C5F252

#C5F252 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 90.0% C 0.189 H 123.7°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#C5F252
RGBrgb(197, 242, 82)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 66%, 95%)
CMYKcmyk(18.6%, 0%, 66.1%, 5.1%)
CIE-LABlab(89.85, -36.34, 69.42)
CIE-LCHlch(89.85, 78.36, 117.63°)
OKLaboklab(90.01% -0.105 0.1572)
OKLCHoklch(90.01% 0.189 123.7)
XYZxyz(56.3016, 75.9834, 19.6811)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F252 #7F52F2
analogous
#F2CF52 #C5F252 #75F252
triadic
#C5F252 #52C5F2 #F252C5
tetradic
#C5F252 #52F2CF #7F52F2 #F25275
square
#C5F252 #52F2CF #7F52F2 #F25275
split-complementary
#C5F252 #5275F2 #CF52F2
monochromatic
#8BBC0E #B2EE19 #C5F252 #D8F68B #EBFBC4

Accessibility & contrast

On white

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

On black

16.20
#C5F252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F252
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F252#FFFFFF#000000##000000
##C5F2521.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33B
Deuteranopia (green-blind)
#F9E25F
Tritanopia (blue-blind)
#CEE6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f252;
/* rgb */ color: rgb(197, 242, 82);
/* oklch */ color: oklch(90.0% 0.189 123.7);
Tailwind
colors: {
  custom: {
    50: '#daf68a',
    500: '#c5f252',
    950: '#000000',
  },
}
SCSS
$custom: #c5f252;
$custom-light: #daf68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f252",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 76.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.9001,
    "c": 0.18904,
    "h": 123.7
  },
  "luminance": 0.75984
}

Semantic roles & 50–950 ramp

primary
#C5F252
secondary
#562EBA
accent
#03E342
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C5F252

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

Preview Lab → · Contrast checker → · Palette generator →

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