#7FA147#7FA147

#7FA147 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.4% C 0.125 H 126.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7FA147
RGBrgb(127, 161, 71)
HSLhsl(83, 39%, 45%)
HSVhsv(83, 56%, 63%)
CMYKcmyk(21.1%, 0%, 55.9%, 36.9%)
CIE-LABlab(62.05, -26.49, 42.42)
CIE-LCHlch(62.05, 50.01, 121.98°)
OKLaboklab(66.37% -0.0745 0.0997)
OKLCHoklch(66.37% 0.125 126.8)
XYZxyz(22.6345, 30.4564, 10.6462)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA147 #6947A1
analogous
#A19647 #7FA147 #52A147
triadic
#7FA147 #477FA1 #A1477F
tetradic
#7FA147 #47A196 #6947A1 #A14752
square
#7FA147 #47A196 #6947A1 #A14752
split-complementary
#7FA147 #4752A1 #9647A1
monochromatic
#3C4C22 #5D7734 #7FA147 #9DBD69 #B9CF93

Accessibility & contrast

On white

2.96
#7FA147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7FA147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA147
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA147#FFFFFF#000000##000000
##7FA1471.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9973E
Deuteranopia (green-blind)
#A4954D
Tritanopia (blue-blind)
#839A8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa147;
/* rgb */ color: rgb(127, 161, 71);
/* oklch */ color: oklch(66.4% 0.125 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6bd7d',
    500: '#7fa147',
    950: '#000000',
  },
}
SCSS
$custom: #7fa147;
$custom-light: #a6bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa147",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 82.667,
    "s": 38.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6637,
    "c": 0.12451,
    "h": 126.8
  },
  "luminance": 0.30457
}

Semantic roles & 50–950 ramp

primary
#7FA147
secondary
#9C89BB
accent
#59CF86
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA147

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

Preview Lab → · Contrast checker → · Palette generator →

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