#C2F257#C2F257

#C2F257 is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 89.9% C 0.187 H 124.8°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#C2F257
RGBrgb(194, 242, 87)
HSLhsl(79, 86%, 65%)
HSVhsv(79, 64%, 95%)
CMYKcmyk(19.8%, 0%, 64%, 5.1%)
CIE-LABlab(89.70, -37.14, 67.27)
CIE-LCHlch(89.70, 76.85, 118.90°)
OKLaboklab(89.85% -0.1066 0.1534)
OKLCHoklch(89.85% 0.187 124.8)
XYZxyz(55.7209, 75.6612, 20.6835)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F257 #8757F2
analogous
#F2D557 #C2F257 #75F257
triadic
#C2F257 #57C2F2 #F257C2
tetradic
#C2F257 #57F2D5 #8757F2 #F25775
square
#C2F257 #57F2D5 #8757F2 #F25775
split-complementary
#C2F257 #5775F2 #D557F2
monochromatic
#89C00F #ADEE1E #C2F257 #D7F690 #EBFBC9

Accessibility & contrast

On white

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

On black

16.13
#C2F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F257
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F257#FFFFFF#000000##000000
##C2F2571.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2f257;
/* rgb */ color: rgb(194, 242, 87);
/* oklch */ color: oklch(89.9% 0.187 124.8);
Tailwind
colors: {
  custom: {
    50: '#d8f68d',
    500: '#c2f257',
    950: '#000000',
  },
}
SCSS
$custom: #c2f257;
$custom-light: #d8f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f257",
  "rgb": {
    "r": 194,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 78.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89853,
    "c": 0.18681,
    "h": 124.8
  },
  "luminance": 0.75662
}

Semantic roles & 50–950 ramp

primary
#C2F257
secondary
#5C30BE
accent
#03E248
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C2F257

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

Preview Lab → · Contrast checker → · Palette generator →

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