#7FB140#7FB140

#7FB140 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.2% C 0.153 H 129.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7FB140
RGBrgb(127, 177, 64)
HSLhsl(87, 47%, 47%)
HSVhsv(87, 64%, 69%)
CMYKcmyk(28.2%, 0%, 63.8%, 30.6%)
CIE-LABlab(66.77, -34.70, 50.92)
CIE-LCHlch(66.77, 61.62, 124.27°)
OKLaboklab(70.17% -0.0979 0.1171)
OKLCHoklch(70.17% 0.153 129.9)
XYZxyz(25.3998, 36.3258, 10.5228)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB140 #7240B1
analogous
#B1AB40 #7FB140 #46B140
triadic
#7FB140 #407FB1 #B1407F
tetradic
#7FB140 #40B1AB #7240B1 #B14046
square
#7FB140 #40B1AB #7240B1 #B14046
split-complementary
#7FB140 #4046B1 #AB40B1
monochromatic
#3E571F #5F8430 #7FB140 #9DC866 #BAD893

Accessibility & contrast

On white

2.54
#7FB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7FB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB140
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB140#FFFFFF#000000##000000
##7FB1401.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B2A149
Tritanopia (blue-blind)
#82AA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb140;
/* rgb */ color: rgb(127, 177, 64);
/* oklch */ color: oklch(70.2% 0.153 129.9);
Tailwind
colors: {
  custom: {
    50: '#a7c87a',
    500: '#7fb140',
    950: '#000000',
  },
}
SCSS
$custom: #7fb140;
$custom-light: #a7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb140",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 86.549,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70171,
    "c": 0.15262,
    "h": 129.9
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#7FB140
secondary
#A389C3
accent
#51D78C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB140

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

Preview Lab → · Contrast checker → · Palette generator →

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