#7BBA40#7BBA40

#7BBA40 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.1% C 0.167 H 132.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7BBA40
RGBrgb(123, 186, 64)
HSLhsl(91, 49%, 49%)
HSVhsv(91, 66%, 73%)
CMYKcmyk(33.9%, 0%, 65.6%, 27.1%)
CIE-LABlab(69.25, -40.21, 53.54)
CIE-LCHlch(69.25, 66.95, 126.91°)
OKLaboklab(72.13% -0.1127 0.1227)
OKLCHoklch(72.13% 0.167 132.6)
XYZxyz(26.6523, 39.6979, 11.1077)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BBA40 #7F40BA
analogous
#B8BA40 #7BBA40 #40BA42
triadic
#7BBA40 #407BBA #BA407B
tetradic
#7BBA40 #40B8BA #7F40BA #BA4240
square
#7BBA40 #40B8BA #7F40BA #BA4240
split-complementary
#7BBA40 #4240BA #BA40B8
monochromatic
#3F5F21 #5D8C30 #7BBA40 #9ACC6B #B9DC99

Accessibility & contrast

On white

2.35
#7BBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#7BBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BBA40
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BBA40#FFFFFF#000000##000000
##7BBA401.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC30
Deuteranopia (green-blind)
#B9A74A
Tritanopia (blue-blind)
#7CB3A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7bba40;
/* rgb */ color: rgb(123, 186, 64);
/* oklch */ color: oklch(72.1% 0.167 132.6);
Tailwind
colors: {
  custom: {
    50: '#a5cf7b',
    500: '#7bba40',
    950: '#000000',
  },
}
SCSS
$custom: #7bba40;
$custom-light: #a5cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7bba40",
  "rgb": {
    "r": 123,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 90.984,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.1666,
    "h": 132.6
  },
  "luminance": 0.39699
}

Semantic roles & 50–950 ramp

primary
#7BBA40
secondary
#AC8EC8
accent
#4FD896
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7BBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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