#7F8A71#7F8A71

#7F8A71 is a mid, muted yellow-green. Relative luminance 0.239; OKLCH L 61.7% C 0.039 H 126.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7F8A71
RGBrgb(127, 138, 113)
HSLhsl(86, 10%, 49%)
HSVhsv(86, 18%, 54%)
CMYKcmyk(8%, 0%, 18.1%, 45.9%)
CIE-LABlab(55.97, -8.80, 12.06)
CIE-LCHlch(55.97, 14.93, 126.11°)
OKLaboklab(61.72% -0.0233 0.031)
OKLCHoklch(61.72% 0.039 126.9)
XYZxyz(20.8211, 23.8812, 19.1322)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8A71 #7C718A
analogous
#8A8971 #7F8A71 #738A71
triadic
#7F8A71 #717F8A #8A717F
tetradic
#7F8A71 #718A89 #7C718A #8A7173
square
#7F8A71 #718A89 #7C718A #8A7173
split-complementary
#7F8A71 #71738A #89718A
monochromatic
#41473A #606855 #7F8A71 #9DA692 #BCC2B4

Accessibility & contrast

On white

3.64
#7F8A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7F8A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8A71
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8A71#FFFFFF#000000##000000
##7F8A711.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8770
Deuteranopia (green-blind)
#8B8672
Tritanopia (blue-blind)
#808883
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7f8a71;
/* rgb */ color: rgb(127, 138, 113);
/* oklch */ color: oklch(61.7% 0.039 126.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac99',
    500: '#7f8a71',
    950: '#000000',
  },
}
SCSS
$custom: #7f8a71;
$custom-light: #a4ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8a71",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 86.4,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.03877,
    "h": 126.9
  },
  "luminance": 0.23881
}

Semantic roles & 50–950 ramp

primary
#7F8A71
secondary
#ABA6B1
accent
#75B390
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7F8A71

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

Preview Lab → · Contrast checker → · Palette generator →

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