#C2E873#C2E873

#C2E873 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.9% C 0.151 H 124.3°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#C2E873
RGBrgb(194, 232, 115)
HSLhsl(79, 72%, 68%)
HSVhsv(79, 50%, 91%)
CMYKcmyk(16.4%, 0%, 50.4%, 9%)
CIE-LABlab(87.20, -30.21, 52.36)
CIE-LCHlch(87.20, 60.45, 119.99°)
OKLaboklab(87.92% -0.0849 0.1244)
OKLCHoklch(87.92% 0.151 124.3)
XYZxyz(54.1993, 70.4200, 26.9534)
Luminance0.7042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E873 #9973E8
analogous
#E8D373 #C2E873 #87E873
triadic
#C2E873 #73C2E8 #E873C2
tetradic
#C2E873 #73E8D3 #9973E8 #E87387
square
#C2E873 #73E8D3 #9973E8 #E87387
split-complementary
#C2E873 #7387E8 #D373E8
monochromatic
#8DC120 #ABDF3E #C2E873 #D9F1A8 #F0F9DC

Accessibility & contrast

On white

1.39
#C2E873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#C2E873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E873
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E873#FFFFFF#000000##000000
##C2E8731.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC68
Deuteranopia (green-blind)
#EEDA7A
Tritanopia (blue-blind)
#C9DECD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e873;
/* rgb */ color: rgb(194, 232, 115);
/* oklch */ color: oklch(87.9% 0.151 124.3);
Tailwind
colors: {
  custom: {
    50: '#d6ef9e',
    500: '#c2e873',
    950: '#000000',
  },
}
SCSS
$custom: #c2e873;
$custom-light: #d6ef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e873",
  "rgb": {
    "r": 194,
    "g": 232,
    "b": 115
  },
  "hsl": {
    "h": 79.487,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87922,
    "c": 0.15057,
    "h": 124.3
  },
  "luminance": 0.7042
}

Semantic roles & 50–950 ramp

primary
#C2E873
secondary
#6940C0
accent
#12D451
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #C2E873

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

Preview Lab → · Contrast checker → · Palette generator →

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