#C7F266#C7F266

#C7F266 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.3% C 0.173 H 124.2°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#C7F266
RGBrgb(199, 242, 102)
HSLhsl(78, 84%, 67%)
HSVhsv(78, 58%, 95%)
CMYKcmyk(17.8%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.14, -34.12, 61.66)
CIE-LCHlch(90.14, 70.47, 118.96°)
OKLaboklab(90.33% -0.0972 0.1432)
OKLCHoklch(90.33% 0.173 124.2)
XYZxyz(57.7039, 76.6053, 24.3141)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F266 #9166F2
analogous
#F2D766 #C7F266 #81F266
triadic
#C7F266 #66C7F2 #F266C7
tetradic
#C7F266 #66F2D7 #9166F2 #F26681
square
#C7F266 #66F2D7 #9166F2 #F26681
split-complementary
#C7F266 #6681F2 #D766F2
monochromatic
#93CC11 #B2ED2E #C7F266 #DCF79E #F0FCD7

Accessibility & contrast

On white

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

On black

16.32
#C7F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F266
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F266#FFFFFF#000000##000000
##C7F2661.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F9E26F
Tritanopia (blue-blind)
#CFE7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c7f266;
/* rgb */ color: rgb(199, 242, 102);
/* oklch */ color: oklch(90.3% 0.173 124.2);
Tailwind
colors: {
  custom: {
    50: '#dbf696',
    500: '#c7f266',
    950: '#000000',
  },
}
SCSS
$custom: #c7f266;
$custom-light: #dbf696;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f266",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 78.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90327,
    "c": 0.17306,
    "h": 124.2
  },
  "luminance": 0.76606
}

Semantic roles & 50–950 ramp

primary
#C7F266
secondary
#6134C9
accent
#05E148
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F266

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

Preview Lab → · Contrast checker → · Palette generator →

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