#7FB247#7FB247

#7FB247 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.148 H 130.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7FB247
RGBrgb(127, 178, 71)
HSLhsl(89, 43%, 49%)
HSVhsv(89, 60%, 70%)
CMYKcmyk(28.7%, 0%, 60.1%, 30.2%)
CIE-LABlab(67.13, -34.55, 48.23)
CIE-LCHlch(67.13, 59.33, 125.61°)
OKLaboklab(70.49% -0.0969 0.1122)
OKLCHoklch(70.49% 0.148 130.8)
XYZxyz(25.8099, 36.8070, 11.7046)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB247 #7A47B2
analogous
#B2B047 #7FB247 #4AB247
triadic
#7FB247 #477FB2 #B2477F
tetradic
#7FB247 #47B2B0 #7A47B2 #B2474A
square
#7FB247 #47B2B0 #7A47B2 #B2474A
split-complementary
#7FB247 #474AB2 #B047B2
monochromatic
#415B24 #608636 #7FB247 #9DC670 #BBD79C

Accessibility & contrast

On white

2.51
#7FB247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7FB247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB247
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB247#FFFFFF#000000##000000
##7FB2471.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63B
Deuteranopia (green-blind)
#B2A24F
Tritanopia (blue-blind)
#81AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb247;
/* rgb */ color: rgb(127, 178, 71);
/* oklch */ color: oklch(70.5% 0.148 130.8);
Tailwind
colors: {
  custom: {
    50: '#a7c97e',
    500: '#7fb247',
    950: '#000000',
  },
}
SCSS
$custom: #7fb247;
$custom-light: #a7c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb247",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 88.598,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70487,
    "c": 0.14823,
    "h": 130.8
  },
  "luminance": 0.36808
}

Semantic roles & 50–950 ramp

primary
#7FB247
secondary
#A991C4
accent
#55D391
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB247

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

Preview Lab → · Contrast checker → · Palette generator →

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