#7FA87B#7FA87B

#7FA87B is a light, moderate green. Relative luminance 0.339; OKLCH L 68.9% C 0.079 H 142.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7FA87B
RGBrgb(127, 168, 123)
HSLhsl(115, 21%, 57%)
HSVhsv(115, 27%, 66%)
CMYKcmyk(24.4%, 0%, 26.8%, 34.1%)
CIE-LABlab(64.92, -22.85, 18.87)
CIE-LCHlch(64.92, 29.64, 140.45°)
OKLaboklab(68.95% -0.0623 0.0479)
OKLCHoklch(68.95% 0.079 142.4)
XYZxyz(26.3292, 33.9465, 23.9002)
Luminance0.3395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA87B #A47BA8
analogous
#96A87B #7FA87B #7BA88E
triadic
#7FA87B #7B7FA8 #A87B7F
tetradic
#7FA87B #7B96A8 #A47BA8 #A88E7B
square
#7FA87B #7B96A8 #A47BA8 #A88E7B
split-complementary
#7FA87B #8E7BA8 #A87B96
monochromatic
#466643 #5F8B5B #7FA87B #A3C0A0 #C7D9C5

Accessibility & contrast

On white

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

On black

7.79
#7FA87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA87B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA87B#FFFFFF#000000##000000
##7FA87B1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA078
Deuteranopia (green-blind)
#A49C7D
Tritanopia (blue-blind)
#7CA59C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa87b;
/* rgb */ color: rgb(127, 168, 123);
/* oklch */ color: oklch(68.9% 0.079 142.4);
Tailwind
colors: {
  custom: {
    50: '#a5c2a1',
    500: '#7fa87b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa87b;
$custom-light: #a5c2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa87b",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 123
  },
  "hsl": {
    "h": 114.667,
    "s": 20.548,
    "l": 57.059
  },
  "oklch": {
    "l": 0.68946,
    "c": 0.07861,
    "h": 142.4
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#7FA87B
secondary
#C7B6C9
accent
#6BBDB6
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#0F120F
muted
#7F817E

Preview Lab

Preview with #7FA87B

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

Preview Lab → · Contrast checker → · Palette generator →

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