#7FB340#7FB340

#7FB340 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.7% C 0.155 H 130.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7FB340
RGBrgb(127, 179, 64)
HSLhsl(87, 47%, 48%)
HSVhsv(87, 64%, 70%)
CMYKcmyk(29.1%, 0%, 64.2%, 29.8%)
CIE-LABlab(67.37, -35.61, 51.57)
CIE-LCHlch(67.37, 62.68, 124.63°)
OKLaboklab(70.66% -0.1004 0.1185)
OKLCHoklch(70.66% 0.155 130.3)
XYZxyz(25.7977, 37.1217, 10.6555)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB340 #7440B3
analogous
#B3AD40 #7FB340 #46B340
triadic
#7FB340 #407FB3 #B3407F
tetradic
#7FB340 #40B3AD #7440B3 #B34046
square
#7FB340 #40B3AD #7440B3 #B34046
split-complementary
#7FB340 #4046B3 #AD40B3
monochromatic
#3F5920 #5F8630 #7FB340 #9DC967 #BAD994

Accessibility & contrast

On white

2.49
#7FB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7FB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB340
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB340#FFFFFF#000000##000000
##7FB3401.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#82AC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb340;
/* rgb */ color: rgb(127, 179, 64);
/* oklch */ color: oklch(70.7% 0.155 130.3);
Tailwind
colors: {
  custom: {
    50: '#a8ca7a',
    500: '#7fb340',
    950: '#000000',
  },
}
SCSS
$custom: #7fb340;
$custom-light: #a8ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb340",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 87.13,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.15528,
    "h": 130.3
  },
  "luminance": 0.37122
}

Semantic roles & 50–950 ramp

primary
#7FB340
secondary
#A58AC4
accent
#51D78D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB340

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

Preview Lab → · Contrast checker → · Palette generator →

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