#7BB42A#7BB42A

#7BB42A is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.173 H 130.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7BB42A
RGBrgb(123, 180, 42)
HSLhsl(85, 62%, 44%)
HSVhsv(85, 77%, 71%)
CMYKcmyk(31.7%, 0%, 76.7%, 29.4%)
CIE-LABlab(67.29, -39.05, 59.76)
CIE-LCHlch(67.29, 71.39, 123.17°)
OKLaboklab(70.49% -0.1113 0.1326)
OKLCHoklch(70.49% 0.173 130)
XYZxyz(24.9074, 37.0198, 8.0233)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB42A #632AB4
analogous
#B4A82A #7BB42A #36B42A
triadic
#7BB42A #2A7BB4 #B42A7B
tetradic
#7BB42A #2AB4A8 #632AB4 #B42A36
square
#7BB42A #2AB4A8 #632AB4 #B42A36
split-complementary
#7BB42A #2A36B4 #A82AB4
monochromatic
#375113 #59821E #7BB42A #9AD447 #B5E079

Accessibility & contrast

On white

2.50
#7BB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7BB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB42A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB42A#FFFFFF#000000##000000
##7BB42A1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA605
Deuteranopia (green-blind)
#B5A238
Tritanopia (blue-blind)
#7EAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7bb42a;
/* rgb */ color: rgb(123, 180, 42);
/* oklch */ color: oklch(70.5% 0.173 130.0);
Tailwind
colors: {
  custom: {
    50: '#a6cb6e',
    500: '#7bb42a',
    950: '#000000',
  },
}
SCSS
$custom: #7bb42a;
$custom-light: #a6cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb42a",
  "rgb": {
    "r": 123,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 84.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70488,
    "c": 0.17308,
    "h": 130
  },
  "luminance": 0.37021
}

Semantic roles & 50–950 ramp

primary
#7BB42A
secondary
#9572C8
accent
#43E586
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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