#7FA178#7FA178

#7FA178 is a light, moderate green. Relative luminance 0.314; OKLCH L 67.2% C 0.070 H 140.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7FA178
RGBrgb(127, 161, 120)
HSLhsl(110, 18%, 55%)
HSVhsv(110, 25%, 63%)
CMYKcmyk(21.1%, 0%, 25.5%, 36.9%)
CIE-LABlab(62.81, -19.82, 17.62)
CIE-LCHlch(62.81, 26.52, 138.35°)
OKLaboklab(67.23% -0.0539 0.0448)
OKLCHoklch(67.23% 0.07 140.3)
XYZxyz(24.8866, 31.3572, 22.5070)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA178 #9A78A1
analogous
#94A178 #7FA178 #78A185
triadic
#7FA178 #787FA1 #A1787F
tetradic
#7FA178 #7894A1 #9A78A1 #A18578
square
#7FA178 #7894A1 #9A78A1 #A18578
split-complementary
#7FA178 #8578A1 #A17894
monochromatic
#465D41 #61825A #7FA178 #A1BA9C #C3D3C0

Accessibility & contrast

On white

2.89
#7FA178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#7FA178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA178
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA178#FFFFFF#000000##000000
##7FA1781.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49A76
Deuteranopia (green-blind)
#9E977A
Tritanopia (blue-blind)
#7D9E96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa178;
/* rgb */ color: rgb(127, 161, 120);
/* oklch */ color: oklch(67.2% 0.070 140.3);
Tailwind
colors: {
  custom: {
    50: '#a4bd9f',
    500: '#7fa178',
    950: '#000000',
  },
}
SCSS
$custom: #7fa178;
$custom-light: #a4bd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa178",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 120
  },
  "hsl": {
    "h": 109.756,
    "s": 17.904,
    "l": 55.098
  },
  "oklch": {
    "l": 0.67231,
    "c": 0.07012,
    "h": 140.3
  },
  "luminance": 0.31358
}

Semantic roles & 50–950 ramp

primary
#7FA178
secondary
#C0B2C3
accent
#6DBBAD
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA178

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

Preview Lab → · Contrast checker → · Palette generator →

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