#7FA131#7FA131

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

Color values

HEX#7FA131
RGBrgb(127, 161, 49)
HSLhsl(78, 53%, 41%)
HSVhsv(78, 70%, 63%)
CMYKcmyk(21.1%, 0%, 69.6%, 36.9%)
CIE-LABlab(61.85, -28.31, 51.95)
CIE-LCHlch(61.85, 59.17, 118.59°)
OKLaboklab(66.14% -0.0816 0.1172)
OKLCHoklch(66.14% 0.143 124.9)
XYZxyz(22.0518, 30.2233, 7.5770)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA131 #5331A1
analogous
#A18B31 #7FA131 #47A131
triadic
#7FA131 #317FA1 #A1317F
tetradic
#7FA131 #31A18B #5331A1 #A13147
square
#7FA131 #31A18B #5331A1 #A13147
split-complementary
#7FA131 #3147A1 #8B31A1
monochromatic
#354314 #5A7223 #7FA131 #A1C748 #B9D677

Accessibility & contrast

On white

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

On black

7.04
#7FA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA131
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA131#FFFFFF#000000##000000
##7FA1311.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa131;
/* rgb */ color: rgb(127, 161, 49);
/* oklch */ color: oklch(66.1% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd70',
    500: '#7fa131',
    950: '#000000',
  },
}
SCSS
$custom: #7fa131;
$custom-light: #a7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa131",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 78.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66144,
    "c": 0.14283,
    "h": 124.9
  },
  "luminance": 0.30224
}

Semantic roles & 50–950 ramp

primary
#7FA131
secondary
#8870BE
accent
#4BDD77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA131

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

Preview Lab → · Contrast checker → · Palette generator →

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