#7FB127#7FB127

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

Color values

HEX#7FB127
RGBrgb(127, 177, 39)
HSLhsl(82, 64%, 42%)
HSVhsv(82, 78%, 69%)
CMYKcmyk(28.2%, 0%, 78%, 30.6%)
CIE-LABlab(66.60, -36.35, 60.14)
CIE-LCHlch(66.60, 70.27, 121.15°)
OKLaboklab(69.98% -0.1044 0.1328)
OKLCHoklch(69.98% 0.169 128.2)
XYZxyz(24.8408, 36.1022, 7.5787)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB127 #5927B1
analogous
#B19E27 #7FB127 #3AB127
triadic
#7FB127 #277FB1 #B1277F
tetradic
#7FB127 #27B19E #5927B1 #B1273A
square
#7FB127 #27B19E #5927B1 #B1273A
split-complementary
#7FB127 #273AB1 #9E27B1
monochromatic
#374D11 #5B7F1C #7FB127 #9FD540 #B8E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB127#FFFFFF#000000##000000
##7FB1271.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: #7fb127;
/* rgb */ color: rgb(127, 177, 39);
/* oklch */ color: oklch(70.0% 0.169 128.2);
Tailwind
colors: {
  custom: {
    50: '#a8c86d',
    500: '#7fb127',
    950: '#000000',
  },
}
SCSS
$custom: #7fb127;
$custom-light: #a8c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb127",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 81.739,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.16892,
    "h": 128.2
  },
  "luminance": 0.36103
}

Semantic roles & 50–950 ramp

primary
#7FB127
secondary
#8D6DC7
accent
#41E77D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB127

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

Preview Lab → · Contrast checker → · Palette generator →

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