#7BAB2A#7BAB2A

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

Color values

HEX#7BAB2A
RGBrgb(123, 171, 42)
HSLhsl(82, 61%, 42%)
HSVhsv(82, 75%, 67%)
CMYKcmyk(28.1%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.57, -35.02, 57.15)
CIE-LCHlch(64.57, 67.03, 121.50°)
OKLaboklab(68.27% -0.1003 0.1271)
OKLCHoklch(68.27% 0.162 128.3)
XYZxyz(23.1492, 33.5034, 7.4372)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB2A #5A2AAB
analogous
#AB9B2A #7BAB2A #3AAB2A
triadic
#7BAB2A #2A7BAB #AB2A7B
tetradic
#7BAB2A #2AAB9B #5A2AAB #AB2A3A
square
#7BAB2A #2AAB9B #5A2AAB #AB2A3A
split-complementary
#7BAB2A #2A3AAB #9B2AAB
monochromatic
#344912 #587A1E #7BAB2A #9BD142 #B5DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAB2A#FFFFFF#000000##000000
##7BAB2A1.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)
#B49F0D
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#7FA392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab2a;
/* rgb */ color: rgb(123, 171, 42);
/* oklch */ color: oklch(68.3% 0.162 128.3);
Tailwind
colors: {
  custom: {
    50: '#a5c46d',
    500: '#7bab2a',
    950: '#000000',
  },
}
SCSS
$custom: #7bab2a;
$custom-light: #a5c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab2a",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 82.326,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6827,
    "c": 0.16193,
    "h": 128.3
  },
  "luminance": 0.33504
}

Semantic roles & 50–950 ramp

primary
#7BAB2A
secondary
#8D6DC4
accent
#44E47F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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