#7BB42F#7BB42F

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

Color values

HEX#7BB42F
RGBrgb(123, 180, 47)
HSLhsl(86, 59%, 45%)
HSVhsv(86, 74%, 71%)
CMYKcmyk(31.7%, 0%, 73.9%, 29.4%)
CIE-LABlab(67.32, -38.77, 58.10)
CIE-LCHlch(67.32, 69.85, 123.72°)
OKLaboklab(70.52% -0.1101 0.1299)
OKLCHoklch(70.52% 0.17 130.3)
XYZxyz(25.0026, 37.0579, 8.5243)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB42F #682FB4
analogous
#B4AA2F #7BB42F #39B42F
triadic
#7BB42F #2F7BB4 #B42F7B
tetradic
#7BB42F #2FB4AA #682FB4 #B42F39
square
#7BB42F #2FB4AA #682FB4 #B42F39
split-complementary
#7BB42F #2F39B4 #AA2FB4
monochromatic
#395316 #5A8322 #7BB42F #99D14F #B5DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BB42F#FFFFFF#000000##000000
##7BB42F1.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)
#BCA714
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#7EAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7bb42f;
/* rgb */ color: rgb(123, 180, 47);
/* oklch */ color: oklch(70.5% 0.170 130.3);
Tailwind
colors: {
  custom: {
    50: '#a6cb71',
    500: '#7bb42f',
    950: '#000000',
  },
}
SCSS
$custom: #7bb42f;
$custom-light: #a6cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb42f",
  "rgb": {
    "r": 123,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 85.714,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7052,
    "c": 0.17028,
    "h": 130.3
  },
  "luminance": 0.37059
}

Semantic roles & 50–950 ramp

primary
#7BB42F
secondary
#9A78C7
accent
#46E289
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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