#7FA166#7FA166

#7FA166 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.9% C 0.091 H 132.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA166
RGBrgb(127, 161, 102)
HSLhsl(95, 24%, 52%)
HSVhsv(95, 37%, 63%)
CMYKcmyk(21.1%, 0%, 36.6%, 36.9%)
CIE-LABlab(62.47, -22.68, 27.01)
CIE-LCHlch(62.47, 35.27, 130.03°)
OKLaboklab(66.85% -0.0619 0.067)
OKLCHoklch(66.85% 0.091 132.8)
XYZxyz(23.8951, 30.9606, 17.2849)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA166 #8866A1
analogous
#9DA166 #7FA166 #66A16B
triadic
#7FA166 #667FA1 #A1667F
tetradic
#7FA166 #669DA1 #8866A1 #A16B66
square
#7FA166 #669DA1 #8866A1 #A16B66
split-complementary
#7FA166 #6B66A1 #A1669D
monochromatic
#445736 #617D4D #7FA166 #9FB88C #BED0B2

Accessibility & contrast

On white

2.92
#7FA166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7FA166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA166
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA166#FFFFFF#000000##000000
##7FA1661.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69962
Deuteranopia (green-blind)
#A19669
Tritanopia (blue-blind)
#809C92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa166;
/* rgb */ color: rgb(127, 161, 102);
/* oklch */ color: oklch(66.9% 0.091 132.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd92',
    500: '#7fa166',
    950: '#000000',
  },
}
SCSS
$custom: #7fa166;
$custom-light: #a5bd92;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa166",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 94.576,
    "s": 23.887,
    "l": 51.569
  },
  "oklch": {
    "l": 0.66854,
    "c": 0.09124,
    "h": 132.8
  },
  "luminance": 0.30961
}

Semantic roles & 50–950 ramp

primary
#7FA166
secondary
#B3A4BE
accent
#67C09B
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA166

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

Preview Lab → · Contrast checker → · Palette generator →

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