#7FA671#7FA671

#7FA671 is a light, moderate green. Relative luminance 0.330; OKLCH L 68.3% C 0.087 H 137.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7FA671
RGBrgb(127, 166, 113)
HSLhsl(104, 23%, 55%)
HSVhsv(104, 32%, 65%)
CMYKcmyk(23.5%, 0%, 31.9%, 34.9%)
CIE-LABlab(64.14, -23.51, 23.27)
CIE-LCHlch(64.14, 33.08, 135.30°)
OKLaboklab(68.26% -0.064 0.0584)
OKLCHoklch(68.26% 0.087 137.6)
XYZxyz(25.3685, 32.9760, 20.6480)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA671 #9871A6
analogous
#9AA671 #7FA671 #71A67E
triadic
#7FA671 #717FA6 #A6717F
tetradic
#7FA671 #719AA6 #9871A6 #A67E71
square
#7FA671 #719AA6 #9871A6 #A67E71
split-complementary
#7FA671 #7E71A6 #A6719A
monochromatic
#46603C #618654 #7FA671 #A1BE97 #C3D5BC

Accessibility & contrast

On white

2.76
#7FA671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7FA671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA671
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA671#FFFFFF#000000##000000
##7FA6711.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6E
Deuteranopia (green-blind)
#A39A74
Tritanopia (blue-blind)
#7EA298
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa671;
/* rgb */ color: rgb(127, 166, 113);
/* oklch */ color: oklch(68.3% 0.087 137.6);
Tailwind
colors: {
  custom: {
    50: '#a5c09a',
    500: '#7fa671',
    950: '#000000',
  },
}
SCSS
$custom: #7fa671;
$custom-light: #a5c09a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa671",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 104.151,
    "s": 22.944,
    "l": 54.706
  },
  "oklch": {
    "l": 0.68258,
    "c": 0.08668,
    "h": 137.6
  },
  "luminance": 0.32977
}

Semantic roles & 50–950 ramp

primary
#7FA671
secondary
#BFAEC5
accent
#68BFA8
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7FA671

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

Preview Lab → · Contrast checker → · Palette generator →

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