#7BB42E#7BB42E

#7BB42E is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.5% C 0.171 H 130.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7BB42E
RGBrgb(123, 180, 46)
HSLhsl(86, 59%, 44%)
HSVhsv(86, 74%, 71%)
CMYKcmyk(31.7%, 0%, 74.4%, 29.4%)
CIE-LABlab(67.31, -38.83, 58.44)
CIE-LCHlch(67.31, 70.16, 123.60°)
OKLaboklab(70.51% -0.1104 0.1304)
OKLCHoklch(70.51% 0.171 130.2)
XYZxyz(24.9826, 37.0499, 8.4193)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB42E #672EB4
analogous
#B4AA2E #7BB42E #38B42E
triadic
#7BB42E #2E7BB4 #B42E7B
tetradic
#7BB42E #2EB4AA #672EB4 #B42E38
square
#7BB42E #2EB4AA #672EB4 #B42E38
split-complementary
#7BB42E #2E38B4 #AA2EB4
monochromatic
#385315 #5A8322 #7BB42E #99D24E #B5DE7E

Accessibility & contrast

On white

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

On black

8.41
#7BB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB42E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB42E#FFFFFF#000000##000000
##7BB42E1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7bb42e;
/* rgb */ color: rgb(123, 180, 46);
/* oklch */ color: oklch(70.5% 0.171 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6cb70',
    500: '#7bb42e',
    950: '#000000',
  },
}
SCSS
$custom: #7bb42e;
$custom-light: #a6cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb42e",
  "rgb": {
    "r": 123,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 85.522,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70513,
    "c": 0.17087,
    "h": 130.2
  },
  "luminance": 0.37051
}

Semantic roles & 50–950 ramp

primary
#7BB42E
secondary
#9977C7
accent
#45E288
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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