#C2F172#C2F172

#C2F172 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 89.9% C 0.163 H 126.3°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#C2F172
RGBrgb(194, 241, 114)
HSLhsl(82, 82%, 70%)
HSVhsv(82, 53%, 95%)
CMYKcmyk(19.5%, 0%, 52.7%, 5.5%)
CIE-LABlab(89.67, -34.47, 55.74)
CIE-LCHlch(89.67, 65.54, 121.73°)
OKLaboklab(89.91% -0.0969 0.1317)
OKLCHoklch(89.91% 0.163 126.3)
XYZxyz(56.7406, 75.5941, 27.5181)
Luminance0.7560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F172 #A172F1
analogous
#F1E172 #C2F172 #83F172
triadic
#C2F172 #72C2F1 #F172C2
tetradic
#C2F172 #72F1E1 #A172F1 #F17283
square
#C2F172 #72F1E1 #A172F1 #F17283
split-complementary
#C2F172 #7283F1 #E172F1
monochromatic
#8DD415 #AAEB3A #C2F172 #DAF7AA #F2FCE1

Accessibility & contrast

On white

1.30
#C2F172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#C2F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F172
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F172#FFFFFF#000000##000000
##C2F1721.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE366
Deuteranopia (green-blind)
#F5E17A
Tritanopia (blue-blind)
#C8E7D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c2f172;
/* rgb */ color: rgb(194, 241, 114);
/* oklch */ color: oklch(89.9% 0.163 126.3);
Tailwind
colors: {
  custom: {
    50: '#d7f59e',
    500: '#c2f172',
    950: '#000000',
  },
}
SCSS
$custom: #c2f172;
$custom-light: #d7f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f172",
  "rgb": {
    "r": 194,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 82.205,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89907,
    "c": 0.16345,
    "h": 126.3
  },
  "luminance": 0.75595
}

Semantic roles & 50–950 ramp

primary
#C2F172
secondary
#713DCA
accent
#07DE57
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F172

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

Preview Lab → · Contrast checker → · Palette generator →

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