#7FC157#7FC157

#7FC157 is a light, vivid yellow-green. Relative luminance 0.433; OKLCH L 74.3% C 0.155 H 135.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7FC157
RGBrgb(127, 193, 87)
HSLhsl(97, 46%, 55%)
HSVhsv(97, 55%, 76%)
CMYKcmyk(34.2%, 0%, 54.9%, 24.3%)
CIE-LABlab(71.78, -39.69, 46.20)
CIE-LCHlch(71.78, 60.91, 130.66°)
OKLaboklab(74.32% -0.1098 0.1094)
OKLCHoklch(74.32% 0.155 135.1)
XYZxyz(29.5420, 43.3388, 15.8237)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC157 #9957C1
analogous
#B4C157 #7FC157 #57C164
triadic
#7FC157 #577FC1 #C1577F
tetradic
#7FC157 #57B4C1 #9957C1 #C16457
square
#7FC157 #57B4C1 #9957C1 #C16457
split-complementary
#7FC157 #6457C1 #C157B4
monochromatic
#46732A #61A03B #7FC157 #A1D184 #C3E2B0

Accessibility & contrast

On white

2.17
#7FC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#7FC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC157
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC157#FFFFFF#000000##000000
##7FC1571.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#BEAE5E
Tritanopia (blue-blind)
#7EBAA9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc157;
/* rgb */ color: rgb(127, 193, 87);
/* oklch */ color: oklch(74.3% 0.155 135.1);
Tailwind
colors: {
  custom: {
    50: '#a8d489',
    500: '#7fc157',
    950: '#000000',
  },
}
SCSS
$custom: #7fc157;
$custom-light: #a8d489;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc157",
  "rgb": {
    "r": 127,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 97.358,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.15496,
    "h": 135.1
  },
  "luminance": 0.4334
}

Semantic roles & 50–950 ramp

primary
#7FC157
secondary
#BFA4D0
accent
#52D6A4
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7FC157

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

Preview Lab → · Contrast checker → · Palette generator →

#7FC157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva