#7FB126#7FB126

#7FB126 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.169 H 128.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7FB126
RGBrgb(127, 177, 38)
HSLhsl(82, 65%, 42%)
HSVhsv(82, 79%, 69%)
CMYKcmyk(28.2%, 0%, 78.5%, 30.6%)
CIE-LABlab(66.59, -36.40, 60.44)
CIE-LCHlch(66.59, 70.56, 121.05°)
OKLaboklab(69.97% -0.1046 0.1333)
OKLCHoklch(69.97% 0.169 128.1)
XYZxyz(24.8244, 36.0956, 7.4926)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB126 #5826B1
analogous
#B19E26 #7FB126 #39B126
triadic
#7FB126 #267FB1 #B1267F
tetradic
#7FB126 #26B19E #5826B1 #B12639
square
#7FB126 #26B19E #5826B1 #B12639
split-complementary
#7FB126 #2639B1 #9E26B1
monochromatic
#374C10 #5B7F1B #7FB126 #9FD63F #B8E071

Accessibility & contrast

On white

2.55
#7FB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7FB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB126
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB126#FFFFFF#000000##000000
##7FB1261.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#84A997
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb126;
/* rgb */ color: rgb(127, 177, 38);
/* oklch */ color: oklch(70.0% 0.169 128.1);
Tailwind
colors: {
  custom: {
    50: '#a8c86c',
    500: '#7fb126',
    950: '#000000',
  },
}
SCSS
$custom: #7fb126;
$custom-light: #a8c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb126",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 81.583,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.16943,
    "h": 128.1
  },
  "luminance": 0.36096
}

Semantic roles & 50–950 ramp

primary
#7FB126
secondary
#8C6BC7
accent
#40E87C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB126

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

Preview Lab → · Contrast checker → · Palette generator →

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