#7FC340#7FC340

#7FC340 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 74.6% C 0.176 H 132.8°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7FC340
RGBrgb(127, 195, 64)
HSLhsl(91, 52%, 51%)
HSVhsv(91, 67%, 76%)
CMYKcmyk(34.9%, 0%, 67.2%, 23.5%)
CIE-LABlab(72.17, -42.69, 56.70)
CIE-LCHlch(72.17, 70.97, 126.98°)
OKLaboklab(74.57% -0.1197 0.1293)
OKLCHoklch(74.57% 0.176 132.8)
XYZxyz(29.1925, 43.9112, 11.7871)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC340 #8440C3
analogous
#C0C340 #7FC340 #40C342
triadic
#7FC340 #407FC3 #C3407F
tetradic
#7FC340 #40C0C3 #8440C3 #C34240
square
#7FC340 #40C0C3 #8440C3 #C34240
split-complementary
#7FC340 #4240C3 #C340C0
monochromatic
#436821 #61972F #7FC340 #9ED26F #BDE09D

Accessibility & contrast

On white

2.15
#7FC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#7FC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC340
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC340#FFFFFF#000000##000000
##7FC3401.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#C1AF4B
Tritanopia (blue-blind)
#80BBA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc340;
/* rgb */ color: rgb(127, 195, 64);
/* oklch */ color: oklch(74.6% 0.176 132.8);
Tailwind
colors: {
  custom: {
    50: '#a9d57b',
    500: '#7fc340',
    950: '#000000',
  },
}
SCSS
$custom: #7fc340;
$custom-light: #a9d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc340",
  "rgb": {
    "r": 127,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 91.145,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.17621,
    "h": 132.8
  },
  "luminance": 0.43912
}

Semantic roles & 50–950 ramp

primary
#7FC340
secondary
#B192CC
accent
#4CDC97
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC340

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

Preview Lab → · Contrast checker → · Palette generator →

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