#C2F251#C2F251

#C2F251 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 89.8% C 0.191 H 124.5°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#C2F251
RGBrgb(194, 242, 81)
HSLhsl(78, 86%, 63%)
HSVhsv(78, 67%, 95%)
CMYKcmyk(19.8%, 0%, 66.5%, 5.1%)
CIE-LABlab(89.66, -37.54, 69.54)
CIE-LCHlch(89.66, 79.03, 118.36°)
OKLaboklab(89.8% -0.1082 0.1574)
OKLCHoklch(89.8% 0.191 124.5)
XYZxyz(55.4859, 75.5672, 19.4457)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F251 #8151F2
analogous
#F2D151 #C2F251 #71F251
triadic
#C2F251 #51C2F2 #F251C2
tetradic
#C2F251 #51F2D1 #8151F2 #F25171
square
#C2F251 #51F2D1 #8151F2 #F25171
split-complementary
#C2F251 #5171F2 #D151F2
monochromatic
#87BB0E #AEEE18 #C2F251 #D6F68A #EAFBC3

Accessibility & contrast

On white

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

On black

16.11
#C2F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F251
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F251#FFFFFF#000000##000000
##C2F2511.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#F9E15E
Tritanopia (blue-blind)
#CBE7D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c2f251;
/* rgb */ color: rgb(194, 242, 81);
/* oklch */ color: oklch(89.8% 0.191 124.5);
Tailwind
colors: {
  custom: {
    50: '#d8f68a',
    500: '#c2f251',
    950: '#000000',
  },
}
SCSS
$custom: #c2f251;
$custom-light: #d8f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f251",
  "rgb": {
    "r": 194,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 77.888,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89803,
    "c": 0.19099,
    "h": 124.5
  },
  "luminance": 0.75568
}

Semantic roles & 50–950 ramp

primary
#C2F251
secondary
#572EB9
accent
#03E346
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C2F251

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

Preview Lab → · Contrast checker → · Palette generator →

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