#7FB271#7FB271

#7FB271 is a light, moderate green. Relative luminance 0.375; OKLCH L 71.1% C 0.106 H 139.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7FB271
RGBrgb(127, 178, 113)
HSLhsl(107, 30%, 57%)
HSVhsv(107, 37%, 70%)
CMYKcmyk(28.7%, 0%, 36.5%, 30.2%)
CIE-LABlab(67.68, -29.39, 27.98)
CIE-LCHlch(67.68, 40.58, 136.41°)
OKLaboklab(71.11% -0.0802 0.0696)
OKLCHoklch(71.11% 0.106 139.1)
XYZxyz(27.6525, 37.5441, 21.4093)
Luminance0.3755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB271 #A471B2
analogous
#A0B271 #7FB271 #71B284
triadic
#7FB271 #717FB2 #B2717F
tetradic
#7FB271 #71A0B2 #A471B2 #B28471
square
#7FB271 #71A0B2 #A471B2 #B28471
split-complementary
#7FB271 #8471B2 #B271A0
monochromatic
#466D3B #5F9551 #7FB271 #A3C899 #C7DDC0

Accessibility & contrast

On white

2.47
#7FB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7FB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB271
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB271#FFFFFF#000000##000000
##7FB2711.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86D
Deuteranopia (green-blind)
#AEA375
Tritanopia (blue-blind)
#7CAEA2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb271;
/* rgb */ color: rgb(127, 178, 113);
/* oklch */ color: oklch(71.1% 0.106 139.1);
Tailwind
colors: {
  custom: {
    50: '#a6c99a',
    500: '#7fb271',
    950: '#000000',
  },
}
SCSS
$custom: #7fb271;
$custom-light: #a6c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb271",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 107.077,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.10619,
    "h": 139.1
  },
  "luminance": 0.37545
}

Semantic roles & 50–950 ramp

primary
#7FB271
secondary
#C7B2CD
accent
#62C6B0
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#0F130E
muted
#7F827E

Preview Lab

Preview with #7FB271

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

Preview Lab → · Contrast checker → · Palette generator →

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