#7FB940#7FB940

#7FB940 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.1% C 0.163 H 131.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7FB940
RGBrgb(127, 185, 64)
HSLhsl(89, 49%, 49%)
HSVhsv(89, 65%, 73%)
CMYKcmyk(31.4%, 0%, 65.4%, 27.5%)
CIE-LABlab(69.17, -38.32, 53.51)
CIE-LCHlch(69.17, 65.81, 125.60°)
OKLaboklab(72.12% -0.1078 0.1226)
OKLCHoklch(72.12% 0.163 131.3)
XYZxyz(27.0265, 39.5792, 11.0651)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB940 #7A40B9
analogous
#B9B740 #7FB940 #43B940
triadic
#7FB940 #407FB9 #B9407F
tetradic
#7FB940 #40B9B7 #7A40B9 #B94043
square
#7FB940 #40B9B7 #7A40B9 #B94043
split-complementary
#7FB940 #4043B9 #B740B9
monochromatic
#415E21 #608C30 #7FB940 #9DCC6B #BBDB98

Accessibility & contrast

On white

2.36
#7FB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#7FB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB940
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB940#FFFFFF#000000##000000
##7FB9401.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#B9A74A
Tritanopia (blue-blind)
#81B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb940;
/* rgb */ color: rgb(127, 185, 64);
/* oklch */ color: oklch(72.1% 0.163 131.3);
Tailwind
colors: {
  custom: {
    50: '#a8ce7b',
    500: '#7fb940',
    950: '#000000',
  },
}
SCSS
$custom: #7fb940;
$custom-light: #a8ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb940",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 88.76,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72122,
    "c": 0.16322,
    "h": 131.3
  },
  "luminance": 0.3958
}

Semantic roles & 50–950 ramp

primary
#7FB940
secondary
#A98EC7
accent
#50D891
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB940

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

Preview Lab → · Contrast checker → · Palette generator →

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