#C2F158#C2F158

#C2F158 is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 89.6% C 0.185 H 124.6°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#C2F158
RGBrgb(194, 241, 88)
HSLhsl(78, 85%, 65%)
HSVhsv(78, 63%, 95%)
CMYKcmyk(19.5%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.43, -36.62, 66.59)
CIE-LCHlch(89.43, 76.00, 118.81°)
OKLaboklab(89.64% -0.1051 0.1521)
OKLCHoklch(89.64% 0.185 124.6)
XYZxyz(55.4652, 75.0840, 20.8012)
Luminance0.7509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F158 #8758F1
analogous
#F1D358 #C2F158 #76F158
triadic
#C2F158 #58C2F1 #F158C2
tetradic
#C2F158 #58F1D3 #8758F1 #F15876
square
#C2F158 #58F1D3 #8758F1 #F15876
split-complementary
#C2F158 #5876F1 #D358F1
monochromatic
#89BF10 #ADEC20 #C2F158 #D7F690 #EBFAC9

Accessibility & contrast

On white

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

On black

16.02
#C2F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F158
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F158#FFFFFF#000000##000000
##C2F1581.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE244
Deuteranopia (green-blind)
#F7E063
Tritanopia (blue-blind)
#CAE6D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c2f158;
/* rgb */ color: rgb(194, 241, 88);
/* oklch */ color: oklch(89.6% 0.185 124.6);
Tailwind
colors: {
  custom: {
    50: '#d8f58e',
    500: '#c2f158',
    950: '#000000',
  },
}
SCSS
$custom: #c2f158;
$custom-light: #d8f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f158",
  "rgb": {
    "r": 194,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 78.431,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89638,
    "c": 0.18486,
    "h": 124.6
  },
  "luminance": 0.75085
}

Semantic roles & 50–950 ramp

primary
#C2F158
secondary
#5C30BD
accent
#05E148
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C2F158

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

Preview Lab → · Contrast checker → · Palette generator →

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