#C2E162#C2E162

#C2E162 is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 86.2% C 0.157 H 121.3°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#C2E162
RGBrgb(194, 225, 98)
HSLhsl(75, 68%, 63%)
HSVhsv(75, 56%, 88%)
CMYKcmyk(13.8%, 0%, 56.4%, 11.8%)
CIE-LABlab(85.10, -28.47, 57.62)
CIE-LCHlch(85.10, 64.27, 116.29°)
OKLaboklab(86.17% -0.0815 0.1342)
OKLCHoklch(86.17% 0.157 121.3)
XYZxyz(51.3784, 66.2016, 21.6244)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E162 #8162E1
analogous
#E1C062 #C2E162 #82E162
triadic
#C2E162 #62C2E1 #E162C2
tetradic
#C2E162 #62E1C0 #8162E1 #E16282
square
#C2E162 #62E1C0 #8162E1 #E16282
split-complementary
#C2E162 #6282E1 #C062E1
monochromatic
#87A820 #AED72F #C2E162 #D6EB95 #EAF5C9

Accessibility & contrast

On white

1.47
#C2E162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#C2E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E162
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E162#FFFFFF#000000##000000
##C2E1621.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#E9D56A
Tritanopia (blue-blind)
#CBD7C5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2e162;
/* rgb */ color: rgb(194, 225, 98);
/* oklch */ color: oklch(86.2% 0.157 121.3);
Tailwind
colors: {
  custom: {
    50: '#d7ea93',
    500: '#c2e162',
    950: '#000000',
  },
}
SCSS
$custom: #c2e162;
$custom-light: #d7ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e162",
  "rgb": {
    "r": 194,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 74.646,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86173,
    "c": 0.15701,
    "h": 121.3
  },
  "luminance": 0.66202
}

Semantic roles & 50–950 ramp

primary
#C2E162
secondary
#573DAB
accent
#16D043
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C2E162

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

Preview Lab → · Contrast checker → · Palette generator →

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