#C2E251#C2E251

#C2E251 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.2% C 0.172 H 120.8°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#C2E251
RGBrgb(194, 226, 81)
HSLhsl(73, 71%, 60%)
HSVhsv(73, 64%, 89%)
CMYKcmyk(14.2%, 0%, 64.2%, 11.4%)
CIE-LABlab(85.23, -30.21, 64.91)
CIE-LCHlch(85.23, 71.60, 114.96°)
OKLaboklab(86.23% -0.0879 0.1476)
OKLCHoklch(86.23% 0.172 120.8)
XYZxyz(50.9304, 66.4562, 17.9272)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E251 #7151E2
analogous
#E2B951 #C2E251 #7AE251
triadic
#C2E251 #51C2E2 #E251C2
tetradic
#C2E251 #51E2B9 #7151E2 #E2517A
square
#C2E251 #51E2B9 #7151E2 #E2517A
split-complementary
#C2E251 #517AE2 #B951E2
monochromatic
#819E1A #ACD323 #C2E251 #D4EB85 #E7F3BA

Accessibility & contrast

On white

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

On black

14.29
#C2E251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E251
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E251#FFFFFF#000000##000000
##C2E2511.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#CCD7C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2e251;
/* rgb */ color: rgb(194, 226, 81);
/* oklch */ color: oklch(86.2% 0.172 120.8);
Tailwind
colors: {
  custom: {
    50: '#d7eb89',
    500: '#c2e251',
    950: '#000000',
  },
}
SCSS
$custom: #c2e251;
$custom-light: #d7eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e251",
  "rgb": {
    "r": 194,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 73.241,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8623,
    "c": 0.17185,
    "h": 120.8
  },
  "luminance": 0.66456
}

Semantic roles & 50–950 ramp

primary
#C2E251
secondary
#4E36A1
accent
#12D33D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2E251

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

Preview Lab → · Contrast checker → · Palette generator →

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