#7FB950#7FB950

#7FB950 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.3% C 0.150 H 133.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7FB950
RGBrgb(127, 185, 80)
HSLhsl(93, 43%, 52%)
HSVhsv(93, 57%, 73%)
CMYKcmyk(31.4%, 0%, 56.8%, 27.5%)
CIE-LABlab(69.32, -36.86, 46.60)
CIE-LCHlch(69.32, 59.41, 128.34°)
OKLaboklab(72.29% -0.1025 0.1096)
OKLCHoklch(72.29% 0.15 133.1)
XYZxyz(27.5489, 39.7882, 13.8162)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB950 #8A50B9
analogous
#B3B950 #7FB950 #50B956
triadic
#7FB950 #507FB9 #B9507F
tetradic
#7FB950 #50B3B9 #8A50B9 #B95650
square
#7FB950 #50B3B9 #8A50B9 #B95650
split-complementary
#7FB950 #5650B9 #B950B3
monochromatic
#446629 #61923A #7FB950 #9FCA7C #BFDCA7

Accessibility & contrast

On white

2.34
#7FB950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#7FB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB950
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB950#FFFFFF#000000##000000
##7FB9501.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC45
Deuteranopia (green-blind)
#B8A857
Tritanopia (blue-blind)
#80B2A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb950;
/* rgb */ color: rgb(127, 185, 80);
/* oklch */ color: oklch(72.3% 0.150 133.1);
Tailwind
colors: {
  custom: {
    50: '#a7ce84',
    500: '#7fb950',
    950: '#000000',
  },
}
SCSS
$custom: #7fb950;
$custom-light: #a7ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb950",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 93.143,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.15006,
    "h": 133.1
  },
  "luminance": 0.39789
}

Semantic roles & 50–950 ramp

primary
#7FB950
secondary
#B59BC9
accent
#55D39A
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB950

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

Preview Lab → · Contrast checker → · Palette generator →

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