#C2FB7A#C2FB7A

#C2FB7A is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.2% C 0.169 H 129.0°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#C2FB7A
RGBrgb(194, 251, 122)
HSLhsl(87, 94%, 73%)
HSVhsv(87, 51%, 98%)
CMYKcmyk(22.7%, 0%, 51.4%, 1.6%)
CIE-LABlab(92.52, -38.21, 55.47)
CIE-LCHlch(92.52, 67.36, 124.56°)
OKLaboklab(92.23% -0.1066 0.1317)
OKLCHoklch(92.23% 0.169 129)
XYZxyz(60.2577, 81.8677, 31.0359)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2FB7A #B37AFB
analogous
#FBF47A #C2FB7A #81FB7A
triadic
#C2FB7A #7AC2FB #FB7AC2
tetradic
#C2FB7A #7AFBF4 #B37AFB #FB7A81
square
#C2FB7A #7AFBF4 #B37AFB #FB7A81
split-complementary
#C2FB7A #7A81FB #F47AFB
monochromatic
#8BF307 #A7F93F #C2FB7A #DDFDB5 #F1FEE1

Accessibility & contrast

On white

1.21
#C2FB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#C2FB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2FB7A
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2FB7A#FFFFFF#000000##000000
##C2FB7A1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#C7F2DE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c2fb7a;
/* rgb */ color: rgb(194, 251, 122);
/* oklch */ color: oklch(92.2% 0.169 129.0);
Tailwind
colors: {
  custom: {
    50: '#d7fda3',
    500: '#c2fb7a',
    950: '#000000',
  },
}
SCSS
$custom: #c2fb7a;
$custom-light: #d7fda3;
$custom-dark: #000000;
JSON
{
  "hex": "#c2fb7a",
  "rgb": {
    "r": 194,
    "g": 251,
    "b": 122
  },
  "hsl": {
    "h": 86.512,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92232,
    "c": 0.16948,
    "h": 129
  },
  "luminance": 0.81869
}

Semantic roles & 50–950 ramp

primary
#C2FB7A
secondary
#8441D8
accent
#00E665
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C2FB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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