#7FB152#7FB152

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

Color values

HEX#7FB152
RGBrgb(127, 177, 82)
HSLhsl(92, 38%, 51%)
HSVhsv(92, 54%, 69%)
CMYKcmyk(28.2%, 0%, 53.7%, 30.6%)
CIE-LABlab(66.95, -32.98, 42.87)
CIE-LCHlch(66.95, 54.09, 127.57°)
OKLaboklab(70.38% -0.0916 0.1017)
OKLCHoklch(70.38% 0.137 132)
XYZxyz(25.9971, 36.5647, 13.6690)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB152 #8452B1
analogous
#AEB152 #7FB152 #52B154
triadic
#7FB152 #527FB1 #B1527F
tetradic
#7FB152 #52AEB1 #8452B1 #B15452
square
#7FB152 #52AEB1 #8452B1 #B15452
split-complementary
#7FB152 #5452B1 #B152AE
monochromatic
#435E2A #61883D #7FB152 #9EC47C #BDD7A6

Accessibility & contrast

On white

2.53
#7FB152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB152
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB152#FFFFFF#000000##000000
##7FB1521.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fb152;
/* rgb */ color: rgb(127, 177, 82);
/* oklch */ color: oklch(70.4% 0.137 132.0);
Tailwind
colors: {
  custom: {
    50: '#a7c885',
    500: '#7fb152',
    950: '#000000',
  },
}
SCSS
$custom: #7fb152;
$custom-light: #a7c885;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb152",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 91.579,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70376,
    "c": 0.1369,
    "h": 132
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#7FB152
secondary
#B19AC4
accent
#5ACE97
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB152

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

Preview Lab → · Contrast checker → · Palette generator →

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