#C5F257#C5F257

#C5F257 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.1% C 0.186 H 124.0°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#C5F257
RGBrgb(197, 242, 87)
HSLhsl(77, 86%, 65%)
HSVhsv(77, 64%, 95%)
CMYKcmyk(18.6%, 0%, 64%, 5.1%)
CIE-LABlab(89.89, -36.01, 67.53)
CIE-LCHlch(89.89, 76.53, 118.07°)
OKLaboklab(90.05% -0.1036 0.1539)
OKLCHoklch(90.05% 0.186 124)
XYZxyz(56.4988, 76.0623, 20.7199)
Luminance0.7606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F257 #8457F2
analogous
#F2D157 #C5F257 #78F257
triadic
#C5F257 #57C5F2 #F257C5
tetradic
#C5F257 #57F2D1 #8457F2 #F25778
square
#C5F257 #57F2D1 #8457F2 #F25778
split-complementary
#C5F257 #5778F2 #D157F2
monochromatic
#8CC00F #B1EE1E #C5F257 #D9F690 #ECFBC9

Accessibility & contrast

On white

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

On black

16.21
#C5F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F257
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F257#FFFFFF#000000##000000
##C5F2571.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE343
Deuteranopia (green-blind)
#F9E263
Tritanopia (blue-blind)
#CEE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f257;
/* rgb */ color: rgb(197, 242, 87);
/* oklch */ color: oklch(90.1% 0.186 124.0);
Tailwind
colors: {
  custom: {
    50: '#daf68d',
    500: '#c5f257',
    950: '#000000',
  },
}
SCSS
$custom: #c5f257;
$custom-light: #daf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f257",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 77.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90051,
    "c": 0.18553,
    "h": 124
  },
  "luminance": 0.76063
}

Semantic roles & 50–950 ramp

primary
#C5F257
secondary
#5930BE
accent
#03E244
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F257

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

Preview Lab → · Contrast checker → · Palette generator →

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