#7FA150#7FA150

#7FA150 is a light, moderate yellow-green. Relative luminance 0.306; OKLCH L 66.5% C 0.116 H 128.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7FA150
RGBrgb(127, 161, 80)
HSLhsl(85, 34%, 47%)
HSVhsv(85, 50%, 63%)
CMYKcmyk(21.1%, 0%, 50.3%, 36.9%)
CIE-LABlab(62.15, -25.53, 38.11)
CIE-LCHlch(62.15, 45.87, 123.82°)
OKLaboklab(66.49% -0.0711 0.0911)
OKLCHoklch(66.49% 0.116 128)
XYZxyz(22.9451, 30.5806, 12.2817)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA150 #7250A1
analogous
#A19B50 #7FA150 #57A150
triadic
#7FA150 #507FA1 #A1507F
tetradic
#7FA150 #50A19B #7250A1 #A15057
square
#7FA150 #50A19B #7250A1 #A15057
split-complementary
#7FA150 #5057A1 #9B50A1
monochromatic
#3E4F27 #5F783C #7FA150 #9DBA74 #BACE9D

Accessibility & contrast

On white

2.95
#7FA150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7FA150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA150
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA150#FFFFFF#000000##000000
##7FA1501.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89849
Deuteranopia (green-blind)
#A39655
Tritanopia (blue-blind)
#829B8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa150;
/* rgb */ color: rgb(127, 161, 80);
/* oklch */ color: oklch(66.5% 0.116 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6bd83',
    500: '#7fa150',
    950: '#000000',
  },
}
SCSS
$custom: #7fa150;
$custom-light: #a6bd83;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa150",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 80
  },
  "hsl": {
    "h": 85.185,
    "s": 33.61,
    "l": 47.255
  },
  "oklch": {
    "l": 0.66489,
    "c": 0.11557,
    "h": 128
  },
  "luminance": 0.30581
}

Semantic roles & 50–950 ramp

primary
#7FA150
secondary
#A392BB
accent
#5ECA8B
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA150

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

Preview Lab → · Contrast checker → · Palette generator →

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