#7FB540#7FB540

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

Color values

HEX#7FB540
RGBrgb(127, 181, 64)
HSLhsl(88, 48%, 48%)
HSVhsv(88, 65%, 71%)
CMYKcmyk(29.8%, 0%, 64.6%, 29%)
CIE-LABlab(67.97, -36.52, 52.22)
CIE-LCHlch(67.97, 63.72, 124.97°)
OKLaboklab(71.15% -0.1029 0.1198)
OKLCHoklch(71.15% 0.158 130.6)
XYZxyz(26.2015, 37.9291, 10.7901)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB540 #7640B5
analogous
#B5B040 #7FB540 #45B540
triadic
#7FB540 #407FB5 #B5407F
tetradic
#7FB540 #40B5B0 #7640B5 #B54045
square
#7FB540 #40B5B0 #7640B5 #B54045
split-complementary
#7FB540 #4045B5 #B040B5
monochromatic
#405B20 #5F8830 #7FB540 #9DCA68 #BADA96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB540#FFFFFF#000000##000000
##7FB5401.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)
#BDA831
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#82AE9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb540;
/* rgb */ color: rgb(127, 181, 64);
/* oklch */ color: oklch(71.1% 0.158 130.6);
Tailwind
colors: {
  custom: {
    50: '#a8cb7a',
    500: '#7fb540',
    950: '#000000',
  },
}
SCSS
$custom: #7fb540;
$custom-light: #a8cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb540",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 87.692,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71146,
    "c": 0.15794,
    "h": 130.6
  },
  "luminance": 0.3793
}

Semantic roles & 50–950 ramp

primary
#7FB540
secondary
#A68BC5
accent
#50D78F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB540

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

Preview Lab → · Contrast checker → · Palette generator →

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