#7FB342#7FB342

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

Color values

HEX#7FB342
RGBrgb(127, 179, 66)
HSLhsl(88, 46%, 48%)
HSVhsv(88, 63%, 70%)
CMYKcmyk(29.1%, 0%, 63.1%, 29.8%)
CIE-LABlab(67.39, -35.45, 50.73)
CIE-LCHlch(67.39, 61.89, 124.94°)
OKLaboklab(70.68% -0.0998 0.1169)
OKLCHoklch(70.68% 0.154 130.5)
XYZxyz(25.8556, 37.1448, 10.9606)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB342 #7642B3
analogous
#B3AE42 #7FB342 #46B342
triadic
#7FB342 #427FB3 #B3427F
tetradic
#7FB342 #42B3AE #7642B3 #B34246
square
#7FB342 #42B3AE #7642B3 #B34246
split-complementary
#7FB342 #4246B3 #AE42B3
monochromatic
#405A21 #5F8632 #7FB342 #9DC86A #BAD997

Accessibility & contrast

On white

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

On black

8.43
#7FB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB342
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB342#FFFFFF#000000##000000
##7FB3421.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fb342;
/* rgb */ color: rgb(127, 179, 66);
/* oklch */ color: oklch(70.7% 0.154 130.5);
Tailwind
colors: {
  custom: {
    50: '#a7ca7b',
    500: '#7fb342',
    950: '#000000',
  },
}
SCSS
$custom: #7fb342;
$custom-light: #a7ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb342",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 87.611,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70678,
    "c": 0.15371,
    "h": 130.5
  },
  "luminance": 0.37146
}

Semantic roles & 50–950 ramp

primary
#7FB342
secondary
#A68CC4
accent
#52D68F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB342

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

Preview Lab → · Contrast checker → · Palette generator →

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