#7BAB33#7BAB33

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

Color values

HEX#7BAB33
RGBrgb(123, 171, 51)
HSLhsl(84, 54%, 44%)
HSVhsv(84, 70%, 67%)
CMYKcmyk(28.1%, 0%, 70.2%, 32.9%)
CIE-LABlab(64.62, -34.46, 53.92)
CIE-LCHlch(64.62, 64.00, 122.58°)
OKLaboklab(68.34% -0.0981 0.1217)
OKLCHoklch(68.34% 0.156 128.9)
XYZxyz(23.3288, 33.5752, 8.3829)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB33 #6333AB
analogous
#AB9F33 #7BAB33 #3FAB33
triadic
#7BAB33 #337BAB #AB337B
tetradic
#7BAB33 #33AB9F #6333AB #AB333F
square
#7BAB33 #33AB9F #6333AB #AB333F
split-complementary
#7BAB33 #333FAB #9F33AB
monochromatic
#374D17 #597C25 #7BAB33 #9ACB50 #B5D97F

Accessibility & contrast

On white

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

On black

7.72
#7BAB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB33
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB33#FFFFFF#000000##000000
##7BAB331.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7bab33;
/* rgb */ color: rgb(123, 171, 51);
/* oklch */ color: oklch(68.3% 0.156 128.9);
Tailwind
colors: {
  custom: {
    50: '#a5c472',
    500: '#7bab33',
    950: '#000000',
  },
}
SCSS
$custom: #7bab33;
$custom-light: #a5c472;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab33",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 84,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.15632,
    "h": 128.9
  },
  "luminance": 0.33576
}

Semantic roles & 50–950 ramp

primary
#7BAB33
secondary
#9578C2
accent
#4ADD85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB33

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

Preview Lab → · Contrast checker → · Palette generator →

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