#C2F255#C2F255

#C2F255 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#C2F255
RGBrgb(194, 242, 85)
HSLhsl(78, 86%, 64%)
HSVhsv(78, 65%, 95%)
CMYKcmyk(19.8%, 0%, 64.9%, 5.1%)
CIE-LABlab(89.69, -37.28, 68.04)
CIE-LCHlch(89.69, 77.58, 118.72°)
OKLaboklab(89.84% -0.1071 0.1548)
OKLCHoklch(89.84% 0.188 124.7)
XYZxyz(55.6403, 75.6289, 20.2591)
Luminance0.7563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F255 #8555F2
analogous
#F2D455 #C2F255 #74F255
triadic
#C2F255 #55C2F2 #F255C2
tetradic
#C2F255 #55F2D4 #8555F2 #F25574
square
#C2F255 #55F2D4 #8555F2 #F25574
split-complementary
#C2F255 #5574F2 #D455F2
monochromatic
#88BE0F #AEEE1C #C2F255 #D6F68E #EBFBC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2F255#FFFFFF#000000##000000
##C2F2551.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)
#FFE340
Deuteranopia (green-blind)
#F8E161
Tritanopia (blue-blind)
#CAE7D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c2f255;
/* rgb */ color: rgb(194, 242, 85);
/* oklch */ color: oklch(89.8% 0.188 124.7);
Tailwind
colors: {
  custom: {
    50: '#d8f68c',
    500: '#c2f255',
    950: '#000000',
  },
}
SCSS
$custom: #c2f255;
$custom-light: #d8f68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f255",
  "rgb": {
    "r": 194,
    "g": 242,
    "b": 85
  },
  "hsl": {
    "h": 78.344,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89836,
    "c": 0.18823,
    "h": 124.7
  },
  "luminance": 0.75629
}

Semantic roles & 50–950 ramp

primary
#C2F255
secondary
#5A2FBC
accent
#03E247
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C2F255

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

Preview Lab → · Contrast checker → · Palette generator →

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