#7FA786#7FA786

#7FA786 is a light, moderate green. Relative luminance 0.339; OKLCH L 69.0% C 0.065 H 149.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7FA786
RGBrgb(127, 167, 134)
HSLhsl(131, 19%, 58%)
HSVhsv(131, 24%, 65%)
CMYKcmyk(24%, 0%, 19.8%, 34.5%)
CIE-LABlab(64.86, -20.36, 12.73)
CIE-LCHlch(64.86, 24.01, 147.99°)
OKLaboklab(68.97% -0.056 0.0327)
OKLCHoklch(68.97% 0.065 149.7)
XYZxyz(26.8730, 33.8698, 27.6713)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA786 #A77FA0
analogous
#8CA77F #7FA786 #7FA79A
triadic
#7FA786 #867FA7 #A7867F
tetradic
#7FA786 #7F8CA7 #A77FA0 #A79A7F
square
#7FA786 #7F8CA7 #A77FA0 #A79A7F
split-complementary
#7FA786 #9A7FA7 #A77F8C
monochromatic
#46664B #5F8A66 #7FA786 #A3C0A8 #C8D9CB

Accessibility & contrast

On white

2.70
#7FA786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7FA786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA786
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA786#FFFFFF#000000##000000
##7FA7861.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A084
Deuteranopia (green-blind)
#A19C88
Tritanopia (blue-blind)
#7AA59E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa786;
/* rgb */ color: rgb(127, 167, 134);
/* oklch */ color: oklch(69.0% 0.065 149.7);
Tailwind
colors: {
  custom: {
    50: '#a5c1a9',
    500: '#7fa786',
    950: '#000000',
  },
}
SCSS
$custom: #7fa786;
$custom-light: #a5c1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa786",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 134
  },
  "hsl": {
    "h": 130.5,
    "s": 18.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.68974,
    "c": 0.06486,
    "h": 149.7
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#7FA786
secondary
#C9B9C6
accent
#6DADBB
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#0F120F
muted
#7F817F

Preview Lab

Preview with #7FA786

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

Preview Lab → · Contrast checker → · Palette generator →

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