#C7F862#C7F862

#C7F862 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.6% C 0.184 H 125.2°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#C7F862
RGBrgb(199, 248, 98)
HSLhsl(80, 91%, 68%)
HSVhsv(80, 60%, 97%)
CMYKcmyk(19.8%, 0%, 60.5%, 2.7%)
CIE-LABlab(91.76, -37.16, 65.14)
CIE-LCHlch(91.76, 75.00, 119.70°)
OKLaboklab(91.62% -0.106 0.1502)
OKLCHoklch(91.62% 0.184 125.2)
XYZxyz(59.3254, 80.1581, 23.8995)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F862 #9362F8
analogous
#F8DE62 #C7F862 #7CF862
triadic
#C7F862 #62C7F8 #F862C7
tetradic
#C7F862 #62F8DE #9362F8 #F8627C
square
#C7F862 #62F8DE #9362F8 #F8627C
split-complementary
#C7F862 #627CF8 #DE62F8
monochromatic
#93D60A #B2F527 #C7F862 #DCFB9D #F1FDD7

Accessibility & contrast

On white

1.23
#C7F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#C7F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F862
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F862#FFFFFF#000000##000000
##C7F8621.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FEE76D
Tritanopia (blue-blind)
#CFEDD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c7f862;
/* rgb */ color: rgb(199, 248, 98);
/* oklch */ color: oklch(91.6% 0.184 125.2);
Tailwind
colors: {
  custom: {
    50: '#dbfa94',
    500: '#c7f862',
    950: '#000000',
  },
}
SCSS
$custom: #c7f862;
$custom-light: #dbfa94;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f862",
  "rgb": {
    "r": 199,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 79.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9162,
    "c": 0.18379,
    "h": 125.2
  },
  "luminance": 0.80159
}

Semantic roles & 50–950 ramp

primary
#C7F862
secondary
#632ED0
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F862

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

Preview Lab → · Contrast checker → · Palette generator →

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