#7FB040#7FB040

#7FB040 is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.9% C 0.151 H 129.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7FB040
RGBrgb(127, 176, 64)
HSLhsl(86, 47%, 47%)
HSVhsv(86, 64%, 69%)
CMYKcmyk(27.8%, 0%, 63.6%, 31%)
CIE-LABlab(66.47, -34.24, 50.60)
CIE-LCHlch(66.47, 61.09, 124.09°)
OKLaboklab(69.93% -0.0966 0.1164)
OKLCHoklch(69.93% 0.151 129.7)
XYZxyz(25.2030, 35.9322, 10.4572)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB040 #7140B0
analogous
#B0A940 #7FB040 #47B040
triadic
#7FB040 #407FB0 #B0407F
tetradic
#7FB040 #40B0A9 #7140B0 #B04047
square
#7FB040 #40B0A9 #7140B0 #B04047
split-complementary
#7FB040 #4047B0 #A940B0
monochromatic
#3E561F #5F8330 #7FB040 #9DC766 #BAD893

Accessibility & contrast

On white

2.57
#7FB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#7FB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB040
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB040#FFFFFF#000000##000000
##7FB0401.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#B1A049
Tritanopia (blue-blind)
#82A999
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb040;
/* rgb */ color: rgb(127, 176, 64);
/* oklch */ color: oklch(69.9% 0.151 129.7);
Tailwind
colors: {
  custom: {
    50: '#a7c87a',
    500: '#7fb040',
    950: '#000000',
  },
}
SCSS
$custom: #7fb040;
$custom-light: #a7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb040",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 86.25,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.15128,
    "h": 129.7
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

primary
#7FB040
secondary
#A289C3
accent
#51D68C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB040

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

Preview Lab → · Contrast checker → · Palette generator →

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