#C2F256#C2F256

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

Color values

HEX#C2F256
RGBrgb(194, 242, 86)
HSLhsl(78, 86%, 64%)
HSVhsv(78, 64%, 95%)
CMYKcmyk(19.8%, 0%, 64.5%, 5.1%)
CIE-LABlab(89.69, -37.21, 67.66)
CIE-LCHlch(89.69, 77.22, 118.81°)
OKLaboklab(89.84% -0.1069 0.1541)
OKLCHoklch(89.84% 0.188 124.7)
XYZxyz(55.6803, 75.6449, 20.4698)
Luminance0.7564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F256 #8656F2
analogous
#F2D456 #C2F256 #74F256
triadic
#C2F256 #56C2F2 #F256C2
tetradic
#C2F256 #56F2D4 #8656F2 #F25674
square
#C2F256 #56F2D4 #8656F2 #F25674
split-complementary
#C2F256 #5674F2 #D456F2
monochromatic
#89BF0F #ADEE1D #C2F256 #D7F68F #EBFBC8

Accessibility & contrast

On white

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

On black

16.13
#C2F256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F256
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F256#FFFFFF#000000##000000
##C2F2561.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE341
Deuteranopia (green-blind)
#F8E162
Tritanopia (blue-blind)
#CAE7D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c2f256;
/* rgb */ color: rgb(194, 242, 86);
/* oklch */ color: oklch(89.8% 0.188 124.7);
Tailwind
colors: {
  custom: {
    50: '#d8f68d',
    500: '#c2f256',
    950: '#000000',
  },
}
SCSS
$custom: #c2f256;
$custom-light: #d8f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f256",
  "rgb": {
    "r": 194,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 78.462,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89844,
    "c": 0.18752,
    "h": 124.7
  },
  "luminance": 0.75645
}

Semantic roles & 50–950 ramp

primary
#C2F256
secondary
#5B2FBD
accent
#03E248
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C2F256

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

Preview Lab → · Contrast checker → · Palette generator →

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