#C2F162#C2F162

#C2F162 is a very light, vivid yellow-green. Relative luminance 0.753; OKLCH L 89.7% C 0.177 H 125.2°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#C2F162
RGBrgb(194, 241, 98)
HSLhsl(80, 84%, 66%)
HSVhsv(80, 59%, 95%)
CMYKcmyk(19.5%, 0%, 59.3%, 5.5%)
CIE-LABlab(89.52, -35.87, 62.58)
CIE-LCHlch(89.52, 72.13, 119.82°)
OKLaboklab(89.73% -0.1021 0.1448)
OKLCHoklch(89.73% 0.177 125.2)
XYZxyz(55.9082, 75.2612, 23.1343)
Luminance0.7526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F162 #9162F1
analogous
#F1D862 #C2F162 #7BF162
triadic
#C2F162 #62C2F1 #F162C2
tetradic
#C2F162 #62F1D8 #9162F1 #F1627B
square
#C2F162 #62F1D8 #9162F1 #F1627B
split-complementary
#C2F162 #627BF1 #D862F1
monochromatic
#8BC712 #ACEC2A #C2F162 #D8F69A #EEFBD2

Accessibility & contrast

On white

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

On black

16.05
#C2F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F162
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F162#FFFFFF#000000##000000
##C2F1621.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#F7E06C
Tritanopia (blue-blind)
#CAE6D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c2f162;
/* rgb */ color: rgb(194, 241, 98);
/* oklch */ color: oklch(89.7% 0.177 125.2);
Tailwind
colors: {
  custom: {
    50: '#d7f594',
    500: '#c2f162',
    950: '#000000',
  },
}
SCSS
$custom: #c2f162;
$custom-light: #d7f594;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f162",
  "rgb": {
    "r": 194,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 79.72,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89731,
    "c": 0.17718,
    "h": 125.2
  },
  "luminance": 0.75262
}

Semantic roles & 50–950 ramp

primary
#C2F162
secondary
#6333C4
accent
#05E04D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C2F162

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

Preview Lab → · Contrast checker → · Palette generator →

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