#7FA132#7FA132

#7FA132 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.2% C 0.142 H 124.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7FA132
RGBrgb(127, 161, 50)
HSLhsl(78, 53%, 41%)
HSVhsv(78, 69%, 63%)
CMYKcmyk(21.1%, 0%, 68.9%, 36.9%)
CIE-LABlab(61.85, -28.24, 51.56)
CIE-LCHlch(61.85, 58.79, 118.71°)
OKLaboklab(66.15% -0.0813 0.1165)
OKLCHoklch(66.15% 0.142 124.9)
XYZxyz(22.0731, 30.2318, 7.6894)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA132 #5432A1
analogous
#A18C32 #7FA132 #48A132
triadic
#7FA132 #327FA1 #A1327F
tetradic
#7FA132 #32A18C #5432A1 #A13248
square
#7FA132 #32A18C #5432A1 #A13248
split-complementary
#7FA132 #3248A1 #8C32A1
monochromatic
#354415 #5A7223 #7FA132 #A0C74A #B9D578

Accessibility & contrast

On white

2.98
#7FA132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7FA132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA132
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA132#FFFFFF#000000##000000
##7FA1321.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9721
Deuteranopia (green-blind)
#A5953B
Tritanopia (blue-blind)
#85998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa132;
/* rgb */ color: rgb(127, 161, 50);
/* oklch */ color: oklch(66.2% 0.142 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd70',
    500: '#7fa132',
    950: '#000000',
  },
}
SCSS
$custom: #7fa132;
$custom-light: #a7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa132",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 78.378,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66152,
    "c": 0.14212,
    "h": 124.9
  },
  "luminance": 0.30232
}

Semantic roles & 50–950 ramp

primary
#7FA132
secondary
#8971BE
accent
#4CDC78
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA132

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

Preview Lab → · Contrast checker → · Palette generator →

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