#7FB541#7FB541

#7FB541 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.2% C 0.157 H 130.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7FB541
RGBrgb(127, 181, 65)
HSLhsl(88, 47%, 48%)
HSVhsv(88, 64%, 71%)
CMYKcmyk(29.8%, 0%, 64.1%, 29%)
CIE-LABlab(67.98, -36.44, 51.81)
CIE-LCHlch(67.98, 63.34, 125.12°)
OKLaboklab(71.16% -0.1026 0.1191)
OKLCHoklch(71.16% 0.157 130.7)
XYZxyz(26.2302, 37.9406, 10.9413)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB541 #7741B5
analogous
#B5B141 #7FB541 #45B541
triadic
#7FB541 #417FB5 #B5417F
tetradic
#7FB541 #41B5B1 #7741B5 #B54145
square
#7FB541 #41B5B1 #7741B5 #B54145
split-complementary
#7FB541 #4145B5 #B141B5
monochromatic
#405B21 #5F8831 #7FB541 #9DC96A #BBDA97

Accessibility & contrast

On white

2.45
#7FB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#7FB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB541
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB541#FFFFFF#000000##000000
##7FB5411.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA833
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#82AE9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb541;
/* rgb */ color: rgb(127, 181, 65);
/* oklch */ color: oklch(71.2% 0.157 130.7);
Tailwind
colors: {
  custom: {
    50: '#a8cb7b',
    500: '#7fb541',
    950: '#000000',
  },
}
SCSS
$custom: #7fb541;
$custom-light: #a8cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb541",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 87.931,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71156,
    "c": 0.15717,
    "h": 130.7
  },
  "luminance": 0.37941
}

Semantic roles & 50–950 ramp

primary
#7FB541
secondary
#A78CC5
accent
#51D78F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB541

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

Preview Lab → · Contrast checker → · Palette generator →

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