#7FA173#7FA173

#7FA173 is a light, moderate green. Relative luminance 0.312; OKLCH L 67.1% C 0.076 H 137.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7FA173
RGBrgb(127, 161, 115)
HSLhsl(104, 20%, 54%)
HSVhsv(104, 29%, 63%)
CMYKcmyk(21.1%, 0%, 28.6%, 36.9%)
CIE-LABlab(62.71, -20.66, 20.24)
CIE-LCHlch(62.71, 28.92, 135.58°)
OKLaboklab(67.12% -0.0562 0.0512)
OKLCHoklch(67.12% 0.076 137.7)
XYZxyz(24.5911, 31.2390, 20.9504)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA173 #9573A1
analogous
#96A173 #7FA173 #73A17E
triadic
#7FA173 #737FA1 #A1737F
tetradic
#7FA173 #7396A1 #9573A1 #A17E73
square
#7FA173 #7396A1 #9573A1 #A17E73
split-complementary
#7FA173 #7E73A1 #A17396
monochromatic
#465C3E #618156 #7FA173 #A0BA98 #C2D2BC

Accessibility & contrast

On white

2.90
#7FA173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7FA173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA173
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA173#FFFFFF#000000##000000
##7FA1731.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49A70
Deuteranopia (green-blind)
#9F9775
Tritanopia (blue-blind)
#7E9E95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa173;
/* rgb */ color: rgb(127, 161, 115);
/* oklch */ color: oklch(67.1% 0.076 137.7);
Tailwind
colors: {
  custom: {
    50: '#a5bd9b',
    500: '#7fa173',
    950: '#000000',
  },
}
SCSS
$custom: #7fa173;
$custom-light: #a5bd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa173",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 104.348,
    "s": 19.658,
    "l": 54.118
  },
  "oklch": {
    "l": 0.67119,
    "c": 0.07598,
    "h": 137.7
  },
  "luminance": 0.3124
}

Semantic roles & 50–950 ramp

primary
#7FA173
secondary
#BDAEC2
accent
#6CBCA7
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA173

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

Preview Lab → · Contrast checker → · Palette generator →

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