#7BB12A#7BB12A

#7BB12A is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.7% C 0.169 H 129.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7BB12A
RGBrgb(123, 177, 42)
HSLhsl(84, 62%, 43%)
HSVhsv(84, 76%, 69%)
CMYKcmyk(30.5%, 0%, 76.3%, 30.6%)
CIE-LABlab(66.38, -37.72, 58.89)
CIE-LCHlch(66.38, 69.94, 122.64°)
OKLaboklab(69.75% -0.1077 0.1308)
OKLCHoklch(69.75% 0.169 129.5)
XYZxyz(24.3084, 35.8217, 7.8236)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB12A #602AB1
analogous
#B1A32A #7BB12A #37B12A
triadic
#7BB12A #2A7BB1 #B12A7B
tetradic
#7BB12A #2AB1A3 #602AB1 #B12A37
square
#7BB12A #2AB1A3 #602AB1 #B12A37
split-complementary
#7BB12A #2A37B1 #A32AB1
monochromatic
#364E13 #59801E #7BB12A #9AD345 #B5DF77

Accessibility & contrast

On white

2.57
#7BB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7BB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB12A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB12A#FFFFFF#000000##000000
##7BB12A1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA408
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#7FA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7bb12a;
/* rgb */ color: rgb(123, 177, 42);
/* oklch */ color: oklch(69.7% 0.169 129.5);
Tailwind
colors: {
  custom: {
    50: '#a6c86e',
    500: '#7bb12a',
    950: '#000000',
  },
}
SCSS
$custom: #7bb12a;
$custom-light: #a6c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb12a",
  "rgb": {
    "r": 123,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 84,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69748,
    "c": 0.16939,
    "h": 129.5
  },
  "luminance": 0.35822
}

Semantic roles & 50–950 ramp

primary
#7BB12A
secondary
#9370C6
accent
#43E584
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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