#7FB156#7FB156

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

Color values

HEX#7FB156
RGBrgb(127, 177, 86)
HSLhsl(93, 37%, 52%)
HSVhsv(93, 51%, 69%)
CMYKcmyk(28.2%, 0%, 51.4%, 30.6%)
CIE-LABlab(67.00, -32.53, 40.98)
CIE-LCHlch(67.00, 52.32, 128.44°)
OKLaboklab(70.43% -0.0901 0.0979)
OKLCHoklch(70.43% 0.133 132.6)
XYZxyz(26.1538, 36.6274, 14.4941)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB156 #8856B1
analogous
#ADB156 #7FB156 #56B15B
triadic
#7FB156 #567FB1 #B1567F
tetradic
#7FB156 #56ADB1 #8856B1 #B15B56
square
#7FB156 #56ADB1 #8856B1 #B15B56
split-complementary
#7FB156 #5B56B1 #B156AD
monochromatic
#44602C #618A40 #7FB156 #9FC480 #BED8AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB156#FFFFFF#000000##000000
##7FB1561.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)
#B7A64E
Deuteranopia (green-blind)
#B0A25C
Tritanopia (blue-blind)
#80AB9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb156;
/* rgb */ color: rgb(127, 177, 86);
/* oklch */ color: oklch(70.4% 0.133 132.6);
Tailwind
colors: {
  custom: {
    50: '#a6c888',
    500: '#7fb156',
    950: '#000000',
  },
}
SCSS
$custom: #7fb156;
$custom-light: #a6c888;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb156",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 92.967,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.13303,
    "h": 132.6
  },
  "luminance": 0.36628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FB156

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

Preview Lab → · Contrast checker → · Palette generator →

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