#7FA126#7FA126

#7FA126 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.150 H 124.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7FA126
RGBrgb(127, 161, 38)
HSLhsl(77, 62%, 39%)
HSVhsv(77, 76%, 63%)
CMYKcmyk(21.1%, 0%, 76.4%, 36.9%)
CIE-LABlab(61.78, -28.96, 55.93)
CIE-LCHlch(61.78, 62.98, 117.37°)
OKLaboklab(66.07% -0.0844 0.1238)
OKLCHoklch(66.07% 0.15 124.3)
XYZxyz(21.8473, 30.1415, 6.5002)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA126 #4826A1
analogous
#A18626 #7FA126 #42A126
triadic
#7FA126 #267FA1 #A1267F
tetradic
#7FA126 #26A186 #4826A1 #A12642
square
#7FA126 #26A186 #4826A1 #A12642
split-complementary
#7FA126 #2642A1 #8626A1
monochromatic
#313E0F #586F1A #7FA126 #A5CF35 #BBDB66

Accessibility & contrast

On white

2.99
#7FA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7FA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA126
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA126#FFFFFF#000000##000000
##7FA1261.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9608
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa126;
/* rgb */ color: rgb(127, 161, 38);
/* oklch */ color: oklch(66.1% 0.150 124.3);
Tailwind
colors: {
  custom: {
    50: '#a8bd6a',
    500: '#7fa126',
    950: '#000000',
  },
}
SCSS
$custom: #7fa126;
$custom-light: #a8bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa126",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 76.585,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66065,
    "c": 0.14979,
    "h": 124.3
  },
  "luminance": 0.30142
}

Semantic roles & 50–950 ramp

primary
#7FA126
secondary
#7C62C1
accent
#43E570
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA126

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

Preview Lab → · Contrast checker → · Palette generator →

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