#C2F987#C2F987

#C2F987 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.0% C 0.154 H 130.1°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#C2F987
RGBrgb(194, 249, 135)
HSLhsl(89, 90%, 75%)
HSVhsv(89, 46%, 98%)
CMYKcmyk(22.1%, 0%, 45.8%, 2.4%)
CIE-LABlab(92.12, -35.93, 48.94)
CIE-LCHlch(92.12, 60.71, 126.28°)
OKLaboklab(91.96% -0.0994 0.1181)
OKLCHoklch(91.96% 0.154 130.1)
XYZxyz(60.4963, 80.9688, 35.3582)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F987 #BE87F9
analogous
#F9F787 #C2F987 #89F987
triadic
#C2F987 #87C2F9 #F987C2
tetradic
#C2F987 #87F9F7 #BE87F9 #F98789
square
#C2F987 #87F9F7 #BE87F9 #F98789
split-complementary
#C2F987 #8789F9 #F787F9
monochromatic
#87F312 #A4F64D #C2F987 #E0FCC1 #F0FEE2

Accessibility & contrast

On white

1.22
#C2F987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#C2F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F987
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F987#FFFFFF#000000##000000
##C2F9871.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7E
Deuteranopia (green-blind)
#FAE78E
Tritanopia (blue-blind)
#C5F0DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c2f987;
/* rgb */ color: rgb(194, 249, 135);
/* oklch */ color: oklch(92.0% 0.154 130.1);
Tailwind
colors: {
  custom: {
    50: '#d6fbac',
    500: '#c2f987',
    950: '#000000',
  },
}
SCSS
$custom: #c2f987;
$custom-light: #d6fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f987",
  "rgb": {
    "r": 194,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 88.947,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.9196,
    "c": 0.15439,
    "h": 130.1
  },
  "luminance": 0.8097
}

Semantic roles & 50–950 ramp

primary
#C2F987
secondary
#904DD7
accent
#00E66F
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #C2F987

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

Preview Lab → · Contrast checker → · Palette generator →

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