#7FA137#7FA137

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

Color values

HEX#7FA137
RGBrgb(127, 161, 55)
HSLhsl(79, 49%, 42%)
HSVhsv(79, 66%, 63%)
CMYKcmyk(21.1%, 0%, 65.8%, 36.9%)
CIE-LABlab(61.89, -27.88, 49.53)
CIE-LCHlch(61.89, 56.84, 119.37°)
OKLaboklab(66.2% -0.0799 0.113)
OKLCHoklch(66.2% 0.138 125.3)
XYZxyz(22.1870, 30.2773, 8.2889)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA137 #5937A1
analogous
#A18E37 #7FA137 #4AA137
triadic
#7FA137 #377FA1 #A1377F
tetradic
#7FA137 #37A18E #5937A1 #A1374A
square
#7FA137 #37A18E #5937A1 #A1374A
split-complementary
#7FA137 #374AA1 #8E37A1
monochromatic
#374618 #5B7327 #7FA137 #9FC451 #B8D37F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA137#FFFFFF#000000##000000
##7FA1371.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9729
Deuteranopia (green-blind)
#A5953F
Tritanopia (blue-blind)
#84998B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa137;
/* rgb */ color: rgb(127, 161, 55);
/* oklch */ color: oklch(66.2% 0.138 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd73',
    500: '#7fa137',
    950: '#000000',
  },
}
SCSS
$custom: #7fa137;
$custom-light: #a7bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa137",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 79.245,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.13839,
    "h": 125.3
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#7FA137
secondary
#8D77BD
accent
#4FD97B
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA137

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

Preview Lab → · Contrast checker → · Palette generator →

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