#7FB841#7FB841

#7FB841 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 71.9% C 0.161 H 131.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7FB841
RGBrgb(127, 184, 65)
HSLhsl(89, 48%, 49%)
HSVhsv(89, 65%, 72%)
CMYKcmyk(31%, 0%, 64.7%, 27.8%)
CIE-LABlab(68.88, -37.79, 52.78)
CIE-LCHlch(68.88, 64.91, 125.60°)
OKLaboklab(71.89% -0.1063 0.1212)
OKLCHoklch(71.89% 0.161 131.3)
XYZxyz(26.8467, 39.1738, 11.1468)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB841 #7A41B8
analogous
#B8B641 #7FB841 #44B841
triadic
#7FB841 #417FB8 #B8417F
tetradic
#7FB841 #41B8B6 #7A41B8 #B84144
square
#7FB841 #41B8B6 #7A41B8 #B84144
split-complementary
#7FB841 #4144B8 #B641B8
monochromatic
#415E21 #608B31 #7FB841 #9DCB6B #BBDB99

Accessibility & contrast

On white

2.38
#7FB841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#7FB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB841
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB841#FFFFFF#000000##000000
##7FB8411.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB32
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#81B19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb841;
/* rgb */ color: rgb(127, 184, 65);
/* oklch */ color: oklch(71.9% 0.161 131.3);
Tailwind
colors: {
  custom: {
    50: '#a8cd7b',
    500: '#7fb841',
    950: '#000000',
  },
}
SCSS
$custom: #7fb841;
$custom-light: #a8cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb841",
  "rgb": {
    "r": 127,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 88.739,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.16115,
    "h": 131.3
  },
  "luminance": 0.39175
}

Semantic roles & 50–950 ramp

primary
#7FB841
secondary
#A98EC7
accent
#50D791
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB841

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

Preview Lab → · Contrast checker → · Palette generator →

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