#7BB42C#7BB42C

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

Color values

HEX#7BB42C
RGBrgb(123, 180, 44)
HSLhsl(85, 61%, 44%)
HSVhsv(85, 76%, 71%)
CMYKcmyk(31.7%, 0%, 75.6%, 29.4%)
CIE-LABlab(67.30, -38.94, 59.11)
CIE-LCHlch(67.30, 70.79, 123.38°)
OKLaboklab(70.5% -0.1108 0.1315)
OKLCHoklch(70.5% 0.172 130.1)
XYZxyz(24.9441, 37.0345, 8.2165)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB42C #652CB4
analogous
#B4A92C #7BB42C #37B42C
triadic
#7BB42C #2C7BB4 #B42C7B
tetradic
#7BB42C #2CB4A9 #652CB4 #B42C37
square
#7BB42C #2CB4A9 #652CB4 #B42C37
split-complementary
#7BB42C #2C37B4 #A92CB4
monochromatic
#385214 #598320 #7BB42C #9AD34A #B5DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BB42C#FFFFFF#000000##000000
##7BB42C1.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)
#BCA70C
Deuteranopia (green-blind)
#B5A23A
Tritanopia (blue-blind)
#7EAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7bb42c;
/* rgb */ color: rgb(123, 180, 44);
/* oklch */ color: oklch(70.5% 0.172 130.1);
Tailwind
colors: {
  custom: {
    50: '#a6cb6f',
    500: '#7bb42c',
    950: '#000000',
  },
}
SCSS
$custom: #7bb42c;
$custom-light: #a6cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb42c",
  "rgb": {
    "r": 123,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 85.147,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.705,
    "c": 0.172,
    "h": 130.1
  },
  "luminance": 0.37035
}

Semantic roles & 50–950 ramp

primary
#7BB42C
secondary
#9775C7
accent
#44E487
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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