#7FB157#7FB157

#7FB157 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.4% C 0.132 H 132.8°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7FB157
RGBrgb(127, 177, 87)
HSLhsl(93, 37%, 52%)
HSVhsv(93, 51%, 69%)
CMYKcmyk(28.2%, 0%, 50.8%, 30.6%)
CIE-LABlab(67.01, -32.41, 40.50)
CIE-LCHlch(67.01, 51.87, 128.67°)
OKLaboklab(70.44% -0.0897 0.0969)
OKLCHoklch(70.44% 0.132 132.8)
XYZxyz(26.1944, 36.6436, 14.7078)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB157 #8957B1
analogous
#ACB157 #7FB157 #57B15C
triadic
#7FB157 #577FB1 #B1577F
tetradic
#7FB157 #57ACB1 #8957B1 #B15C57
square
#7FB157 #57ACB1 #8957B1 #B15C57
split-complementary
#7FB157 #5C57B1 #B157AC
monochromatic
#44612D #618A40 #7FB157 #9FC481 #BFD8AB

Accessibility & contrast

On white

2.52
#7FB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7FB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB157
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB157#FFFFFF#000000##000000
##7FB1571.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A64F
Deuteranopia (green-blind)
#B0A25D
Tritanopia (blue-blind)
#80AB9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb157;
/* rgb */ color: rgb(127, 177, 87);
/* oklch */ color: oklch(70.4% 0.132 132.8);
Tailwind
colors: {
  custom: {
    50: '#a6c888',
    500: '#7fb157',
    950: '#000000',
  },
}
SCSS
$custom: #7fb157;
$custom-light: #a6c888;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb157",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 93.333,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70444,
    "c": 0.13204,
    "h": 132.8
  },
  "luminance": 0.36644
}

Semantic roles & 50–950 ramp

primary
#7FB157
secondary
#B49EC6
accent
#5BCD9A
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB157

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

Preview Lab → · Contrast checker → · Palette generator →

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