#7FB128#7FB128

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

Color values

HEX#7FB128
RGBrgb(127, 177, 40)
HSLhsl(82, 63%, 43%)
HSVhsv(82, 77%, 69%)
CMYKcmyk(28.2%, 0%, 77.4%, 30.6%)
CIE-LABlab(66.60, -36.30, 59.83)
CIE-LCHlch(66.60, 69.98, 121.24°)
OKLaboklab(69.98% -0.1042 0.1323)
OKLCHoklch(69.98% 0.168 128.2)
XYZxyz(24.8576, 36.1089, 7.6671)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB128 #5A28B1
analogous
#B19F28 #7FB128 #3AB128
triadic
#7FB128 #287FB1 #B1287F
tetradic
#7FB128 #28B19F #5A28B1 #B1283A
square
#7FB128 #28B19F #5A28B1 #B1283A
split-complementary
#7FB128 #283AB1 #9F28B1
monochromatic
#374D11 #5B7F1D #7FB128 #9FD442 #B8E074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB128#FFFFFF#000000##000000
##7FB1281.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)
#BAA401
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#84A997
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb128;
/* rgb */ color: rgb(127, 177, 40);
/* oklch */ color: oklch(70.0% 0.168 128.2);
Tailwind
colors: {
  custom: {
    50: '#a8c86d',
    500: '#7fb128',
    950: '#000000',
  },
}
SCSS
$custom: #7fb128;
$custom-light: #a8c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb128",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 81.898,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.16841,
    "h": 128.2
  },
  "luminance": 0.3611
}

Semantic roles & 50–950 ramp

primary
#7FB128
secondary
#8E6EC7
accent
#42E67E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB128

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

Preview Lab → · Contrast checker → · Palette generator →

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