#C2F258#C2F258

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

Color values

HEX#C2F258
RGBrgb(194, 242, 88)
HSLhsl(79, 86%, 65%)
HSVhsv(79, 64%, 95%)
CMYKcmyk(19.8%, 0%, 63.6%, 5.1%)
CIE-LABlab(89.71, -37.07, 66.89)
CIE-LCHlch(89.71, 76.47, 119.00°)
OKLaboklab(89.86% -0.1063 0.1527)
OKLCHoklch(89.86% 0.186 124.8)
XYZxyz(55.7620, 75.6776, 20.9001)
Luminance0.7568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F258 #8858F2
analogous
#F2D558 #C2F258 #75F258
triadic
#C2F258 #58C2F2 #F258C2
tetradic
#C2F258 #58F2D5 #8858F2 #F25875
square
#C2F258 #58F2D5 #8858F2 #F25875
split-complementary
#C2F258 #5875F2 #D558F2
monochromatic
#89C10F #ADEE1F #C2F258 #D7F691 #EBFBCA

Accessibility & contrast

On white

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

On black

16.14
#C2F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F258
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F258#FFFFFF#000000##000000
##C2F2581.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE344
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#CAE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c2f258;
/* rgb */ color: rgb(194, 242, 88);
/* oklch */ color: oklch(89.9% 0.186 124.8);
Tailwind
colors: {
  custom: {
    50: '#d8f68e',
    500: '#c2f258',
    950: '#000000',
  },
}
SCSS
$custom: #c2f258;
$custom-light: #d8f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f258",
  "rgb": {
    "r": 194,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 78.701,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89861,
    "c": 0.18608,
    "h": 124.8
  },
  "luminance": 0.75678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2F258

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

Preview Lab → · Contrast checker → · Palette generator →

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