#C2E172#C2E172

#C2E172 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.4% C 0.142 H 122.3°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#C2E172
RGBrgb(194, 225, 114)
HSLhsl(77, 65%, 66%)
HSVhsv(77, 49%, 88%)
CMYKcmyk(13.8%, 0%, 49.3%, 11.8%)
CIE-LABlab(85.27, -27.01, 50.51)
CIE-LCHlch(85.27, 57.28, 118.14°)
OKLaboklab(86.36% -0.076 0.1202)
OKLCHoklch(86.36% 0.142 122.3)
XYZxyz(52.2108, 66.5346, 26.0082)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E172 #9172E1
analogous
#E1C972 #C2E172 #8BE172
triadic
#C2E172 #72C2E1 #E172C2
tetradic
#C2E172 #72E1C9 #9172E1 #E1728B
square
#C2E172 #72E1C9 #9172E1 #E1728B
split-complementary
#C2E172 #728BE1 #C972E1
monochromatic
#8BB326 #ACD640 #C2E172 #D8ECA4 #EEF6D7

Accessibility & contrast

On white

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

On black

14.31
#C2E172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E172
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E172#FFFFFF#000000##000000
##C2E1721.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD668
Deuteranopia (green-blind)
#E8D578
Tritanopia (blue-blind)
#CAD8C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2e172;
/* rgb */ color: rgb(194, 225, 114);
/* oklch */ color: oklch(86.4% 0.142 122.3);
Tailwind
colors: {
  custom: {
    50: '#d6ea9d',
    500: '#c2e172',
    950: '#000000',
  },
}
SCSS
$custom: #c2e172;
$custom-light: #d6ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e172",
  "rgb": {
    "r": 194,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 76.757,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86363,
    "c": 0.14223,
    "h": 122.3
  },
  "luminance": 0.66535
}

Semantic roles & 50–950 ramp

primary
#C2E172
secondary
#6343B4
accent
#19CD4B
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #C2E172

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

Preview Lab → · Contrast checker → · Palette generator →

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