#7FA772#7FA772

#7FA772 is a light, moderate green. Relative luminance 0.334; OKLCH L 68.5% C 0.087 H 138.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7FA772
RGBrgb(127, 167, 114)
HSLhsl(105, 23%, 55%)
HSVhsv(105, 32%, 65%)
CMYKcmyk(24%, 0%, 31.7%, 34.5%)
CIE-LABlab(64.45, -23.85, 23.15)
CIE-LCHlch(64.45, 33.24, 135.86°)
OKLaboklab(68.52% -0.065 0.0581)
OKLCHoklch(68.52% 0.087 138.2)
XYZxyz(25.6076, 33.3636, 21.0070)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA772 #9A72A7
analogous
#99A772 #7FA772 #72A77F
triadic
#7FA772 #727FA7 #A7727F
tetradic
#7FA772 #7299A7 #9A72A7 #A77F72
square
#7FA772 #7299A7 #9A72A7 #A77F72
split-complementary
#7FA772 #7F72A7 #A77299
monochromatic
#46623D #618754 #7FA772 #A1BF98 #C3D6BD

Accessibility & contrast

On white

2.74
#7FA772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#7FA772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA772
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA772#FFFFFF#000000##000000
##7FA7721.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F6F
Deuteranopia (green-blind)
#A49B75
Tritanopia (blue-blind)
#7DA399
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa772;
/* rgb */ color: rgb(127, 167, 114);
/* oklch */ color: oklch(68.5% 0.087 138.2);
Tailwind
colors: {
  custom: {
    50: '#a5c19b',
    500: '#7fa772',
    950: '#000000',
  },
}
SCSS
$custom: #7fa772;
$custom-light: #a5c19b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa772",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 114
  },
  "hsl": {
    "h": 105.283,
    "s": 23.144,
    "l": 55.098
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.08719,
    "h": 138.2
  },
  "luminance": 0.33364
}

Semantic roles & 50–950 ramp

primary
#7FA772
secondary
#C0AFC6
accent
#68C0AA
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA772

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

Preview Lab → · Contrast checker → · Palette generator →

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