#C7F268#C7F268

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

Color values

HEX#C7F268
RGBrgb(199, 242, 104)
HSLhsl(79, 84%, 68%)
HSVhsv(79, 57%, 95%)
CMYKcmyk(17.8%, 0%, 57%, 5.1%)
CIE-LABlab(90.16, -33.96, 60.82)
CIE-LCHlch(90.16, 69.66, 119.18°)
OKLaboklab(90.35% -0.0965 0.1416)
OKLCHoklch(90.35% 0.171 124.3)
XYZxyz(57.8042, 76.6454, 24.8428)
Luminance0.7665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F268 #9368F2
analogous
#F2D868 #C7F268 #82F268
triadic
#C7F268 #68C7F2 #F268C7
tetradic
#C7F268 #68F2D8 #9368F2 #F26882
square
#C7F268 #68F2D8 #9368F2 #F26882
split-complementary
#C7F268 #6882F2 #D868F2
monochromatic
#93CE12 #B2ED30 #C7F268 #DCF7A0 #F1FCD9

Accessibility & contrast

On white

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

On black

16.33
#C7F268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F268
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F268#FFFFFF#000000##000000
##C7F2681.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7f268;
/* rgb */ color: rgb(199, 242, 104);
/* oklch */ color: oklch(90.3% 0.171 124.3);
Tailwind
colors: {
  custom: {
    50: '#dbf697',
    500: '#c7f268',
    950: '#000000',
  },
}
SCSS
$custom: #c7f268;
$custom-light: #dbf697;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f268",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 78.696,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90348,
    "c": 0.17139,
    "h": 124.3
  },
  "luminance": 0.76646
}

Semantic roles & 50–950 ramp

primary
#C7F268
secondary
#6334CA
accent
#05E149
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F268

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

Preview Lab → · Contrast checker → · Palette generator →

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