#7FA787#7FA787

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

Color values

HEX#7FA787
RGBrgb(127, 167, 135)
HSLhsl(132, 19%, 58%)
HSVhsv(132, 24%, 65%)
CMYKcmyk(24%, 0%, 19.2%, 34.5%)
CIE-LABlab(64.88, -20.17, 12.21)
CIE-LCHlch(64.88, 23.58, 148.82°)
OKLaboklab(69% -0.0555 0.0314)
OKLCHoklch(69% 0.064 150.5)
XYZxyz(26.9430, 33.8978, 28.0403)
Luminance0.3390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA787 #A77F9F
analogous
#8BA77F #7FA787 #7FA79B
triadic
#7FA787 #877FA7 #A7877F
tetradic
#7FA787 #7F8BA7 #A77F9F #A79B7F
square
#7FA787 #7F8BA7 #A77F9F #A79B7F
split-complementary
#7FA787 #9B7FA7 #A77F8B
monochromatic
#46664C #5F8A67 #7FA787 #A3C0A9 #C8D9CB

Accessibility & contrast

On white

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

On black

7.78
#7FA787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA787
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA787#FFFFFF#000000##000000
##7FA7871.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A085
Deuteranopia (green-blind)
#A19C89
Tritanopia (blue-blind)
#7AA69E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa787;
/* rgb */ color: rgb(127, 167, 135);
/* oklch */ color: oklch(69.0% 0.064 150.5);
Tailwind
colors: {
  custom: {
    50: '#a5c1aa',
    500: '#7fa787',
    950: '#000000',
  },
}
SCSS
$custom: #7fa787;
$custom-light: #a5c1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa787",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 132,
    "s": 18.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.68999,
    "c": 0.06382,
    "h": 150.5
  },
  "luminance": 0.33899
}

Semantic roles & 50–950 ramp

primary
#7FA787
secondary
#C9B9C6
accent
#6DABBB
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#0F1210
muted
#7F817F

Preview Lab

Preview with #7FA787

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

Preview Lab → · Contrast checker → · Palette generator →

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