#7FA139#7FA139

#7FA139 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.137 H 125.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7FA139
RGBrgb(127, 161, 57)
HSLhsl(80, 48%, 43%)
HSVhsv(80, 65%, 63%)
CMYKcmyk(21.1%, 0%, 64.6%, 36.9%)
CIE-LABlab(61.91, -27.73, 48.69)
CIE-LCHlch(61.91, 56.04, 119.66°)
OKLaboklab(66.22% -0.0793 0.1115)
OKLCHoklch(66.22% 0.137 125.4)
XYZxyz(22.2359, 30.2969, 8.5465)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA139 #5B39A1
analogous
#A18F39 #7FA139 #4BA139
triadic
#7FA139 #397FA1 #A1397F
tetradic
#7FA139 #39A18F #5B39A1 #A1394B
square
#7FA139 #39A18F #5B39A1 #A1394B
split-complementary
#7FA139 #394BA1 #8F39A1
monochromatic
#384719 #5B7429 #7FA139 #9FC355 #B8D382

Accessibility & contrast

On white

2.97
#7FA139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7FA139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA139
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA139#FFFFFF#000000##000000
##7FA1391.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972C
Deuteranopia (green-blind)
#A59541
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa139;
/* rgb */ color: rgb(127, 161, 57);
/* oklch */ color: oklch(66.2% 0.137 125.4);
Tailwind
colors: {
  custom: {
    50: '#a7bd74',
    500: '#7fa139',
    950: '#000000',
  },
}
SCSS
$custom: #7fa139;
$custom-light: #a7bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa139",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 57
  },
  "hsl": {
    "h": 79.615,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.13681,
    "h": 125.4
  },
  "luminance": 0.30297
}

Semantic roles & 50–950 ramp

primary
#7FA139
secondary
#8F79BC
accent
#50D77D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA139

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

Preview Lab → · Contrast checker → · Palette generator →

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