#7FBA40#7FBA40

#7FBA40 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.4% C 0.165 H 131.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7FBA40
RGBrgb(127, 186, 64)
HSLhsl(89, 49%, 49%)
HSVhsv(89, 66%, 73%)
CMYKcmyk(31.7%, 0%, 65.6%, 27.1%)
CIE-LABlab(69.47, -38.76, 53.83)
CIE-LCHlch(69.47, 66.33, 125.75°)
OKLaboklab(72.37% -0.109 0.1232)
OKLCHoklch(72.37% 0.165 131.5)
XYZxyz(27.2364, 39.9991, 11.1351)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA40 #7B40BA
analogous
#BAB840 #7FBA40 #42BA40
triadic
#7FBA40 #407FBA #BA407F
tetradic
#7FBA40 #40BAB8 #7B40BA #BA4042
square
#7FBA40 #40BAB8 #7B40BA #BA4042
split-complementary
#7FBA40 #4042BA #B840BA
monochromatic
#415F21 #608C30 #7FBA40 #9DCC6B #BBDC99

Accessibility & contrast

On white

2.33
#7FBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#7FBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA40
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA40#FFFFFF#000000##000000
##7FBA401.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#81B2A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7fba40;
/* rgb */ color: rgb(127, 186, 64);
/* oklch */ color: oklch(72.4% 0.165 131.5);
Tailwind
colors: {
  custom: {
    50: '#a8cf7b',
    500: '#7fba40',
    950: '#000000',
  },
}
SCSS
$custom: #7fba40;
$custom-light: #a8cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba40",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 89.016,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72366,
    "c": 0.16453,
    "h": 131.5
  },
  "luminance": 0.4
}

Semantic roles & 50–950 ramp

primary
#7FBA40
secondary
#AA8EC8
accent
#4FD892
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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