#7FC97B#7FC97B

#7FC97B is a light, vivid green. Relative luminance 0.477; OKLCH L 76.8% C 0.131 H 143.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7FC97B
RGBrgb(127, 201, 123)
HSLhsl(117, 42%, 64%)
HSVhsv(117, 39%, 79%)
CMYKcmyk(36.8%, 0%, 38.8%, 21.2%)
CIE-LABlab(74.64, -38.53, 31.89)
CIE-LCHlch(74.64, 50.02, 140.38°)
OKLaboklab(76.8% -0.105 0.079)
OKLCHoklch(76.8% 0.131 143)
XYZxyz(33.2128, 47.7136, 26.1947)
Luminance0.4772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC97B #C57BC9
analogous
#A6C97B #7FC97B #7BC99E
triadic
#7FC97B #7B7FC9 #C97B7F
tetradic
#7FC97B #7BA6C9 #C57BC9 #C99E7B
square
#7FC97B #7BA6C9 #C57BC9 #C99E7B
split-complementary
#7FC97B #9E7BC9 #C97BA6
monochromatic
#3F8F3B #55B750 #7FC97B #A9DBA6 #D3EDD2

Accessibility & contrast

On white

1.99
#7FC97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#7FC97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC97B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC97B#FFFFFF#000000##000000
##7FC97B1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC75
Deuteranopia (green-blind)
#C1B580
Tritanopia (blue-blind)
#78C5B6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7fc97b;
/* rgb */ color: rgb(127, 201, 123);
/* oklch */ color: oklch(76.8% 0.131 143.0);
Tailwind
colors: {
  custom: {
    50: '#a7daa2',
    500: '#7fc97b',
    950: '#000000',
  },
}
SCSS
$custom: #7fc97b;
$custom-light: #a7daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc97b",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 116.923,
    "s": 41.935,
    "l": 63.529
  },
  "oklch": {
    "l": 0.76804,
    "c": 0.13144,
    "h": 143
  },
  "luminance": 0.47715
}

Semantic roles & 50–950 ramp

primary
#7FC97B
secondary
#DCC2DE
accent
#30B5AE
background
#FAFDFA
surface
#F4FAF3
border
#CED3CD
text
#10150F
muted
#7F837F

Preview Lab

Preview with #7FC97B

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

Preview Lab → · Contrast checker → · Palette generator →

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