#7BAB32#7BAB32

#7BAB32 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.3% C 0.157 H 128.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7BAB32
RGBrgb(123, 171, 50)
HSLhsl(84, 55%, 43%)
HSVhsv(84, 71%, 67%)
CMYKcmyk(28.1%, 0%, 70.8%, 32.9%)
CIE-LABlab(64.62, -34.53, 54.30)
CIE-LCHlch(64.62, 64.35, 122.45°)
OKLaboklab(68.33% -0.0984 0.1224)
OKLCHoklch(68.33% 0.157 128.8)
XYZxyz(23.3070, 33.5665, 8.2680)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB32 #6232AB
analogous
#AB9E32 #7BAB32 #3EAB32
triadic
#7BAB32 #327BAB #AB327B
tetradic
#7BAB32 #32AB9E #6232AB #AB323E
square
#7BAB32 #32AB9E #6232AB #AB323E
split-complementary
#7BAB32 #323EAB #9E32AB
monochromatic
#374C16 #597C24 #7BAB32 #9ACB4F #B5D97E

Accessibility & contrast

On white

2.72
#7BAB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7BAB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB32
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB32#FFFFFF#000000##000000
##7BAB321.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#AD9C3D
Tritanopia (blue-blind)
#7FA393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab32;
/* rgb */ color: rgb(123, 171, 50);
/* oklch */ color: oklch(68.3% 0.157 128.8);
Tailwind
colors: {
  custom: {
    50: '#a5c471',
    500: '#7bab32',
    950: '#000000',
  },
}
SCSS
$custom: #7bab32;
$custom-light: #a5c471;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab32",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 83.802,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68327,
    "c": 0.15699,
    "h": 128.8
  },
  "luminance": 0.33567
}

Semantic roles & 50–950 ramp

primary
#7BAB32
secondary
#9577C2
accent
#4ADE85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB32

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

Preview Lab → · Contrast checker → · Palette generator →

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