#7BB240#7BB240

#7BB240 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.156 H 131.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7BB240
RGBrgb(123, 178, 64)
HSLhsl(89, 47%, 47%)
HSVhsv(89, 64%, 70%)
CMYKcmyk(30.9%, 0%, 64%, 30.2%)
CIE-LABlab(66.84, -36.65, 50.93)
CIE-LCHlch(66.84, 62.75, 125.74°)
OKLaboklab(70.17% -0.103 0.1172)
OKLCHoklch(70.17% 0.156 131.3)
XYZxyz(25.0139, 36.4211, 10.5615)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB240 #7740B2
analogous
#B2B040 #7BB240 #42B240
triadic
#7BB240 #407BB2 #B2407B
tetradic
#7BB240 #40B2B0 #7740B2 #B24042
square
#7BB240 #40B2B0 #7740B2 #B24042
split-complementary
#7BB240 #4042B2 #B040B2
monochromatic
#3D5820 #5C8530 #7BB240 #99C867 #B7D894

Accessibility & contrast

On white

2.53
#7BB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7BB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB240
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB240#FFFFFF#000000##000000
##7BB2401.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA532
Deuteranopia (green-blind)
#B2A149
Tritanopia (blue-blind)
#7DAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7bb240;
/* rgb */ color: rgb(123, 178, 64);
/* oklch */ color: oklch(70.2% 0.156 131.3);
Tailwind
colors: {
  custom: {
    50: '#a5c97a',
    500: '#7bb240',
    950: '#000000',
  },
}
SCSS
$custom: #7bb240;
$custom-light: #a5c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb240",
  "rgb": {
    "r": 123,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 88.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.15601,
    "h": 131.3
  },
  "luminance": 0.36422
}

Semantic roles & 50–950 ramp

primary
#7BB240
secondary
#A68AC4
accent
#51D792
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7BB240

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

Preview Lab → · Contrast checker → · Palette generator →

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