#7FA138#7FA138

#7FA138 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#7FA138
RGBrgb(127, 161, 56)
HSLhsl(79, 48%, 43%)
HSVhsv(79, 65%, 63%)
CMYKcmyk(21.1%, 0%, 65.2%, 36.9%)
CIE-LABlab(61.90, -27.81, 49.12)
CIE-LCHlch(61.90, 56.44, 119.52°)
OKLaboklab(66.21% -0.0796 0.1122)
OKLCHoklch(66.21% 0.138 125.3)
XYZxyz(22.2112, 30.2870, 8.4164)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA138 #5A38A1
analogous
#A18F38 #7FA138 #4AA138
triadic
#7FA138 #387FA1 #A1387F
tetradic
#7FA138 #38A18F #5A38A1 #A1384A
square
#7FA138 #38A18F #5A38A1 #A1384A
split-complementary
#7FA138 #384AA1 #8F38A1
monochromatic
#374618 #5B7428 #7FA138 #9FC353 #B8D380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA138#FFFFFF#000000##000000
##7FA1381.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)
#A9972A
Deuteranopia (green-blind)
#A59540
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa138;
/* rgb */ color: rgb(127, 161, 56);
/* oklch */ color: oklch(66.2% 0.138 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd74',
    500: '#7fa138',
    950: '#000000',
  },
}
SCSS
$custom: #7fa138;
$custom-light: #a7bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa138",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 79.429,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66206,
    "c": 0.1376,
    "h": 125.3
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#7FA138
secondary
#8E78BC
accent
#50D87C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA138

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

Preview Lab → · Contrast checker → · Palette generator →

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