#7FA161#7FA161

#7FA161 is a light, moderate yellow-green. Relative luminance 0.309; OKLCH L 66.8% C 0.097 H 131.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA161
RGBrgb(127, 161, 97)
HSLhsl(92, 25%, 51%)
HSVhsv(92, 40%, 63%)
CMYKcmyk(21.1%, 0%, 39.8%, 36.9%)
CIE-LABlab(62.39, -23.40, 29.58)
CIE-LCHlch(62.39, 37.71, 128.34°)
OKLaboklab(66.76% -0.0641 0.0728)
OKLCHoklch(66.76% 0.097 131.4)
XYZxyz(23.6545, 30.8644, 16.0181)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA161 #8361A1
analogous
#9FA161 #7FA161 #61A163
triadic
#7FA161 #617FA1 #A1617F
tetradic
#7FA161 #619FA1 #8361A1 #A16361
square
#7FA161 #619FA1 #8361A1 #A16361
split-complementary
#7FA161 #6361A1 #A1619F
monochromatic
#435533 #617B49 #7FA161 #9EB887 #BDCFAE

Accessibility & contrast

On white

2.93
#7FA161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7FA161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA161
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA161#FFFFFF#000000##000000
##7FA1611.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6995C
Deuteranopia (green-blind)
#A19664
Tritanopia (blue-blind)
#819C91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa161;
/* rgb */ color: rgb(127, 161, 97);
/* oklch */ color: oklch(66.8% 0.097 131.4);
Tailwind
colors: {
  custom: {
    50: '#a5bd8f',
    500: '#7fa161',
    950: '#000000',
  },
}
SCSS
$custom: #7fa161;
$custom-light: #a5bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa161",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 91.875,
    "s": 25.397,
    "l": 50.588
  },
  "oklch": {
    "l": 0.66762,
    "c": 0.097,
    "h": 131.4
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#7FA161
secondary
#B0A1BD
accent
#66C297
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA161

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

Preview Lab → · Contrast checker → · Palette generator →

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