#7FA86B#7FA86B

#7FA86B is a light, moderate green. Relative luminance 0.336; OKLCH L 68.6% C 0.097 H 135.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7FA86B
RGBrgb(127, 168, 107)
HSLhsl(100, 26%, 54%)
HSVhsv(100, 36%, 66%)
CMYKcmyk(24.4%, 0%, 36.3%, 34.1%)
CIE-LABlab(64.63, -25.43, 27.15)
CIE-LCHlch(64.63, 37.20, 133.13°)
OKLaboklab(68.61% -0.0694 0.0675)
OKLCHoklch(68.61% 0.097 135.8)
XYZxyz(25.4082, 33.5781, 19.0496)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA86B #946BA8
analogous
#9EA86B #7FA86B #6BA876
triadic
#7FA86B #6B7FA8 #A86B7F
tetradic
#7FA86B #6B9EA8 #946BA8 #A8766B
square
#7FA86B #6B9EA8 #946BA8 #A8766B
split-complementary
#7FA86B #766BA8 #A86B9E
monochromatic
#456038 #61874F #7FA86B #A0BF92 #C2D5B8

Accessibility & contrast

On white

2.72
#7FA86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7FA86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA86B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA86B#FFFFFF#000000##000000
##7FA86B1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9F67
Deuteranopia (green-blind)
#A69B6E
Tritanopia (blue-blind)
#7EA499
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa86b;
/* rgb */ color: rgb(127, 168, 107);
/* oklch */ color: oklch(68.6% 0.097 135.8);
Tailwind
colors: {
  custom: {
    50: '#a5c296',
    500: '#7fa86b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa86b;
$custom-light: #a5c296;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa86b",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 107
  },
  "hsl": {
    "h": 100.328,
    "s": 25.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68614,
    "c": 0.09681,
    "h": 135.8
  },
  "luminance": 0.33579
}

Semantic roles & 50–950 ramp

primary
#7FA86B
secondary
#BCAAC4
accent
#65C2A4
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA86B

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

Preview Lab → · Contrast checker → · Palette generator →

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