#7FA87F#7FA87F

#7FA87F is a light, moderate green. Relative luminance 0.341; OKLCH L 69.0% C 0.074 H 144.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7FA87F
RGBrgb(127, 168, 127)
HSLhsl(120, 19%, 58%)
HSVhsv(120, 24%, 66%)
CMYKcmyk(24.4%, 0%, 24.4%, 34.1%)
CIE-LABlab(65.00, -22.15, 16.79)
CIE-LCHlch(65.00, 27.80, 142.84°)
OKLaboklab(69.04% -0.0605 0.0428)
OKLCHoklch(69.04% 0.074 144.7)
XYZxyz(26.5847, 34.0487, 25.2459)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA87F #A87FA8
analogous
#93A87F #7FA87F #7FA893
triadic
#7FA87F #7F7FA8 #A87F7F
tetradic
#7FA87F #7F93A8 #A87FA8 #A8937F
square
#7FA87F #7F93A8 #A87FA8 #A8937F
split-complementary
#7FA87F #937FA8 #A87F93
monochromatic
#466746 #5F8B5F #7FA87F #A3C1A3 #C8DAC8

Accessibility & contrast

On white

2.69
#7FA87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#7FA87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA87F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA87F#FFFFFF#000000##000000
##7FA87F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA07D
Deuteranopia (green-blind)
#A39C81
Tritanopia (blue-blind)
#7BA69D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fa87f;
/* rgb */ color: rgb(127, 168, 127);
/* oklch */ color: oklch(69.0% 0.074 144.7);
Tailwind
colors: {
  custom: {
    50: '#a5c2a4',
    500: '#7fa87f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa87f;
$custom-light: #a5c2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa87f",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 120,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.69038,
    "c": 0.07414,
    "h": 144.7
  },
  "luminance": 0.3405
}

Semantic roles & 50–950 ramp

primary
#7FA87F
secondary
#CAB9CA
accent
#6CBCBC
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#0F120F
muted
#7F817F

Preview Lab

Preview with #7FA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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