#7BAB26#7BAB26

#7BAB26 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.2% C 0.164 H 128.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7BAB26
RGBrgb(123, 171, 38)
HSLhsl(82, 64%, 41%)
HSVhsv(82, 78%, 67%)
CMYKcmyk(28.1%, 0%, 77.8%, 32.9%)
CIE-LABlab(64.54, -35.23, 58.45)
CIE-LCHlch(64.54, 68.25, 121.08°)
OKLaboklab(68.25% -0.1012 0.1292)
OKLCHoklch(68.25% 0.164 128.1)
XYZxyz(23.0812, 33.4762, 7.0788)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB26 #5626AB
analogous
#AB9826 #7BAB26 #39AB26
triadic
#7BAB26 #267BAB #AB267B
tetradic
#7BAB26 #26AB98 #5626AB #AB2639
square
#7BAB26 #26AB98 #5626AB #AB2639
split-complementary
#7BAB26 #2639AB #9826AB
monochromatic
#334710 #57791B #7BAB26 #9CD33B #B6DF6D

Accessibility & contrast

On white

2.73
#7BAB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7BAB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB26
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB26#FFFFFF#000000##000000
##7BAB261.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#7FA392
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7bab26;
/* rgb */ color: rgb(123, 171, 38);
/* oklch */ color: oklch(68.2% 0.164 128.1);
Tailwind
colors: {
  custom: {
    50: '#a5c46b',
    500: '#7bab26',
    950: '#000000',
  },
}
SCSS
$custom: #7bab26;
$custom-light: #a5c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab26",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 81.654,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.16411,
    "h": 128.1
  },
  "luminance": 0.33477
}

Semantic roles & 50–950 ramp

primary
#7BAB26
secondary
#8968C5
accent
#41E77D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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