#C7F256#C7F256

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

Color values

HEX#C7F256
RGBrgb(199, 242, 86)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 64%, 95%)
CMYKcmyk(17.8%, 0%, 64.5%, 5.1%)
CIE-LABlab(90.01, -35.31, 68.08)
CIE-LCHlch(90.01, 76.70, 117.42°)
OKLaboklab(90.18% -0.1019 0.1549)
OKLCHoklch(90.18% 0.185 123.3)
XYZxyz(56.9856, 76.3179, 20.5310)
Luminance0.7632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F256 #8156F2
analogous
#F2CF56 #C7F256 #79F256
triadic
#C7F256 #56C7F2 #F256C7
tetradic
#C7F256 #56F2CF #8156F2 #F25679
square
#C7F256 #56F2CF #8156F2 #F25679
split-complementary
#C7F256 #5679F2 #CF56F2
monochromatic
#8EBF0F #B4EE1D #C7F256 #DAF68F #EDFBC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7F256#FFFFFF#000000##000000
##C7F2561.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)
#FFE441
Deuteranopia (green-blind)
#FAE262
Tritanopia (blue-blind)
#D0E7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f256;
/* rgb */ color: rgb(199, 242, 86);
/* oklch */ color: oklch(90.2% 0.185 123.3);
Tailwind
colors: {
  custom: {
    50: '#dbf68d',
    500: '#c7f256',
    950: '#000000',
  },
}
SCSS
$custom: #c7f256;
$custom-light: #dbf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f256",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 76.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90177,
    "c": 0.18541,
    "h": 123.3
  },
  "luminance": 0.76318
}

Semantic roles & 50–950 ramp

primary
#C7F256
secondary
#562FBD
accent
#03E241
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F256

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

Preview Lab → · Contrast checker → · Palette generator →

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