#C2E852#C2E852

#C2E852 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.6% C 0.178 H 122.3°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#C2E852
RGBrgb(194, 232, 82)
HSLhsl(75, 77%, 62%)
HSVhsv(75, 65%, 91%)
CMYKcmyk(16.4%, 0%, 64.7%, 9%)
CIE-LABlab(86.89, -32.93, 66.27)
CIE-LCHlch(86.89, 74.01, 116.42°)
OKLaboklab(87.58% -0.0954 0.1506)
OKLCHoklch(87.58% 0.178 122.3)
XYZxyz(52.6283, 69.7916, 18.6796)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E852 #7852E8
analogous
#E8C352 #C2E852 #77E852
triadic
#C2E852 #52C2E8 #E852C2
tetradic
#C2E852 #52E8C3 #7852E8 #E85277
square
#C2E852 #52E8C3 #7852E8 #E85277
split-complementary
#C2E852 #5277E8 #C352E8
monochromatic
#84A916 #AEDF1E #C2E852 #D5EF88 #E8F6BE

Accessibility & contrast

On white

1.40
#C2E852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#C2E852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E852
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E852#FFFFFF#000000##000000
##C2E8521.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3E
Deuteranopia (green-blind)
#F0DA5D
Tritanopia (blue-blind)
#CBDDC9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e852;
/* rgb */ color: rgb(194, 232, 82);
/* oklch */ color: oklch(87.6% 0.178 122.3);
Tailwind
colors: {
  custom: {
    50: '#d8ef8a',
    500: '#c2e852',
    950: '#000000',
  },
}
SCSS
$custom: #c2e852;
$custom-light: #d8ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e852",
  "rgb": {
    "r": 194,
    "g": 232,
    "b": 82
  },
  "hsl": {
    "h": 75.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87575,
    "c": 0.1783,
    "h": 122.3
  },
  "luminance": 0.69792
}

Semantic roles & 50–950 ramp

primary
#C2E852
secondary
#5234AB
accent
#0DD940
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C2E852

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

Preview Lab → · Contrast checker → · Palette generator →

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