#7FA170#7FA170

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

Color values

HEX#7FA170
RGBrgb(127, 161, 112)
HSLhsl(102, 21%, 54%)
HSVhsv(102, 30%, 63%)
CMYKcmyk(21.1%, 0%, 30.4%, 36.9%)
CIE-LABlab(62.65, -21.15, 21.81)
CIE-LCHlch(62.65, 30.38, 134.12°)
OKLaboklab(67.05% -0.0575 0.0549)
OKLCHoklch(67.05% 0.08 136.3)
XYZxyz(24.4212, 31.1711, 20.0560)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA170 #9270A1
analogous
#97A170 #7FA170 #70A179
triadic
#7FA170 #707FA1 #A1707F
tetradic
#7FA170 #7097A1 #9270A1 #A17970
square
#7FA170 #7097A1 #9270A1 #A17970
split-complementary
#7FA170 #7970A1 #A17097
monochromatic
#455B3C #618054 #7FA170 #A0B995 #C1D2BA

Accessibility & contrast

On white

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

On black

7.23
#7FA170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA170
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA170#FFFFFF#000000##000000
##7FA1701.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5996D
Deuteranopia (green-blind)
#9F9672
Tritanopia (blue-blind)
#7E9D94
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa170;
/* rgb */ color: rgb(127, 161, 112);
/* oklch */ color: oklch(67.1% 0.080 136.3);
Tailwind
colors: {
  custom: {
    50: '#a5bd99',
    500: '#7fa170',
    950: '#000000',
  },
}
SCSS
$custom: #7fa170;
$custom-light: #a5bd99;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa170",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 112
  },
  "hsl": {
    "h": 101.633,
    "s": 20.675,
    "l": 53.529
  },
  "oklch": {
    "l": 0.67055,
    "c": 0.07951,
    "h": 136.3
  },
  "luminance": 0.31172
}

Semantic roles & 50–950 ramp

primary
#7FA170
secondary
#BAACC1
accent
#6BBDA4
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA170

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

Preview Lab → · Contrast checker → · Palette generator →

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