#7FA130#7FA130

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

Color values

HEX#7FA130
RGBrgb(127, 161, 48)
HSLhsl(78, 54%, 41%)
HSVhsv(78, 70%, 63%)
CMYKcmyk(21.1%, 0%, 70.2%, 36.9%)
CIE-LABlab(61.84, -28.38, 52.34)
CIE-LCHlch(61.84, 59.54, 118.46°)
OKLaboklab(66.14% -0.0819 0.1179)
OKLCHoklch(66.14% 0.144 124.8)
XYZxyz(22.0309, 30.2149, 7.4671)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA130 #5230A1
analogous
#A18A30 #7FA130 #46A130
triadic
#7FA130 #307FA1 #A1307F
tetradic
#7FA130 #30A18A #5230A1 #A13046
square
#7FA130 #30A18A #5230A1 #A13046
split-complementary
#7FA130 #3046A1 #8A30A1
monochromatic
#354314 #5A7222 #7FA130 #A1C846 #B9D675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA130#FFFFFF#000000##000000
##7FA1301.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)
#AA971E
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#85998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa130;
/* rgb */ color: rgb(127, 161, 48);
/* oklch */ color: oklch(66.1% 0.144 124.8);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7fa130',
    950: '#000000',
  },
}
SCSS
$custom: #7fa130;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa130",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 78.053,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.14352,
    "h": 124.8
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#7FA130
secondary
#876FBE
accent
#4ADD77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA130

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

Preview Lab → · Contrast checker → · Palette generator →

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