#7FA271#7FA271

#7FA271 is a light, moderate green. Relative luminance 0.315; OKLCH L 67.3% C 0.080 H 137.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7FA271
RGBrgb(127, 162, 113)
HSLhsl(103, 21%, 54%)
HSVhsv(103, 30%, 64%)
CMYKcmyk(21.6%, 0%, 30.2%, 36.5%)
CIE-LABlab(62.96, -21.50, 21.69)
CIE-LCHlch(62.96, 30.53, 134.75°)
OKLaboklab(67.31% -0.0585 0.0546)
OKLCHoklch(67.31% 0.08 137)
XYZxyz(24.6527, 31.5443, 20.4094)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA271 #9471A2
analogous
#98A271 #7FA271 #71A27C
triadic
#7FA271 #717FA2 #A2717F
tetradic
#7FA271 #7198A2 #9471A2 #A27C71
square
#7FA271 #7198A2 #9471A2 #A27C71
split-complementary
#7FA271 #7C71A2 #A27198
monochromatic
#455C3C #618155 #7FA271 #A0BA96 #C2D2BB

Accessibility & contrast

On white

2.87
#7FA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7FA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA271
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA271#FFFFFF#000000##000000
##7FA2711.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69A6E
Deuteranopia (green-blind)
#A09773
Tritanopia (blue-blind)
#7E9E95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa271;
/* rgb */ color: rgb(127, 162, 113);
/* oklch */ color: oklch(67.3% 0.080 137.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd9a',
    500: '#7fa271',
    950: '#000000',
  },
}
SCSS
$custom: #7fa271;
$custom-light: #a5bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa271",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 102.857,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.67312,
    "c": 0.08001,
    "h": 137
  },
  "luminance": 0.31545
}

Semantic roles & 50–950 ramp

primary
#7FA271
secondary
#BCADC2
accent
#6ABDA6
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA271

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

Preview Lab → · Contrast checker → · Palette generator →

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