#C2F04F#C2F04F

#C2F04F is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.3% C 0.190 H 124.0°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#C2F04F
RGBrgb(194, 240, 79)
HSLhsl(77, 84%, 63%)
HSVhsv(77, 67%, 94%)
CMYKcmyk(19.2%, 0%, 67.1%, 5.9%)
CIE-LABlab(89.09, -36.77, 69.70)
CIE-LCHlch(89.09, 78.81, 117.81°)
OKLaboklab(89.34% -0.1063 0.1574)
OKLCHoklch(89.34% 0.19 124)
XYZxyz(54.8200, 74.3536, 18.8592)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F04F #7D4FF0
analogous
#F0CE4F #C2F04F #71F04F
triadic
#C2F04F #4FC2F0 #F04FC2
tetradic
#C2F04F #4FF0CE #7D4FF0 #F04F71
square
#C2F04F #4FF0CE #7D4FF0 #F04F71
split-complementary
#C2F04F #4F71F0 #CE4FF0
monochromatic
#86B50F #AEEB17 #C2F04F #D6F587 #E9FAC0

Accessibility & contrast

On white

1.32
#C2F04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#C2F04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F04F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F04F#FFFFFF#000000##000000
##C2F04F1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE137
Deuteranopia (green-blind)
#F7DF5C
Tritanopia (blue-blind)
#CBE5D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #c2f04f;
/* rgb */ color: rgb(194, 240, 79);
/* oklch */ color: oklch(89.3% 0.190 124.0);
Tailwind
colors: {
  custom: {
    50: '#d8f589',
    500: '#c2f04f',
    950: '#000000',
  },
}
SCSS
$custom: #c2f04f;
$custom-light: #d8f589;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f04f",
  "rgb": {
    "r": 194,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 77.143,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89339,
    "c": 0.18994,
    "h": 124
  },
  "luminance": 0.74354
}

Semantic roles & 50–950 ramp

primary
#C2F04F
secondary
#552FB5
accent
#05E144
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C2F04F

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

Preview Lab → · Contrast checker → · Palette generator →

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