#C7F255#C7F255

#C7F255 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.2% C 0.186 H 123.3°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#C7F255
RGBrgb(199, 242, 85)
HSLhsl(76, 86%, 64%)
HSVhsv(76, 65%, 95%)
CMYKcmyk(17.8%, 0%, 64.9%, 5.1%)
CIE-LABlab(90.00, -35.38, 68.46)
CIE-LCHlch(90.00, 77.07, 117.33°)
OKLaboklab(90.17% -0.1022 0.1556)
OKLCHoklch(90.17% 0.186 123.3)
XYZxyz(56.9455, 76.3019, 20.3203)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F255 #8055F2
analogous
#F2CE55 #C7F255 #79F255
triadic
#C7F255 #55C7F2 #F255C7
tetradic
#C7F255 #55F2CE #8055F2 #F25579
square
#C7F255 #55F2CE #8055F2 #F25579
split-complementary
#C7F255 #5579F2 #CE55F2
monochromatic
#8EBE0F #B4EE1C #C7F255 #DAF68E #ECFBC7

Accessibility & contrast

On white

1.29
#C7F255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#C7F255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F255
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F255#FFFFFF#000000##000000
##C7F2551.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE440
Deuteranopia (green-blind)
#FAE261
Tritanopia (blue-blind)
#D0E6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f255;
/* rgb */ color: rgb(199, 242, 85);
/* oklch */ color: oklch(90.2% 0.186 123.3);
Tailwind
colors: {
  custom: {
    50: '#dbf68c',
    500: '#c7f255',
    950: '#000000',
  },
}
SCSS
$custom: #c7f255;
$custom-light: #dbf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f255",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 85
  },
  "hsl": {
    "h": 76.433,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90169,
    "c": 0.18612,
    "h": 123.3
  },
  "luminance": 0.76302
}

Semantic roles & 50–950 ramp

primary
#C7F255
secondary
#562FBC
accent
#03E240
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F255

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

Preview Lab → · Contrast checker → · Palette generator →

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