#7FB142#7FB142

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

Color values

HEX#7FB142
RGBrgb(127, 177, 66)
HSLhsl(87, 46%, 48%)
HSVhsv(87, 63%, 69%)
CMYKcmyk(28.2%, 0%, 62.7%, 30.6%)
CIE-LABlab(66.79, -34.53, 50.07)
CIE-LCHlch(66.79, 60.83, 124.59°)
OKLaboklab(70.19% -0.0972 0.1156)
OKLCHoklch(70.19% 0.151 130.1)
XYZxyz(25.4577, 36.3490, 10.8280)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB142 #7442B1
analogous
#B1AB42 #7FB142 #47B142
triadic
#7FB142 #427FB1 #B1427F
tetradic
#7FB142 #42B1AB #7442B1 #B14247
square
#7FB142 #42B1AB #7442B1 #B14247
split-complementary
#7FB142 #4247B1 #AB42B1
monochromatic
#3F5821 #5F8431 #7FB142 #9DC769 #BAD896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB142#FFFFFF#000000##000000
##7FB1421.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)
#B9A535
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#82AA9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb142;
/* rgb */ color: rgb(127, 177, 66);
/* oklch */ color: oklch(70.2% 0.151 130.1);
Tailwind
colors: {
  custom: {
    50: '#a7c87b',
    500: '#7fb142',
    950: '#000000',
  },
}
SCSS
$custom: #7fb142;
$custom-light: #a7c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb142",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 87.027,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.15102,
    "h": 130.1
  },
  "luminance": 0.3635
}

Semantic roles & 50–950 ramp

primary
#7FB142
secondary
#A58BC3
accent
#52D58D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB142

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

Preview Lab → · Contrast checker → · Palette generator →

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