#7BAA2A#7BAA2A

#7BAA2A is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.161 H 128.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7BAA2A
RGBrgb(123, 170, 42)
HSLhsl(82, 60%, 42%)
HSVhsv(82, 75%, 67%)
CMYKcmyk(27.6%, 0%, 75.3%, 33.3%)
CIE-LABlab(64.26, -34.56, 56.86)
CIE-LCHlch(64.26, 66.54, 121.29°)
OKLaboklab(68.02% -0.0991 0.1265)
OKLCHoklch(68.02% 0.161 128.1)
XYZxyz(22.9610, 33.1270, 7.3745)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAA2A #592AAA
analogous
#AA992A #7BAA2A #3BAA2A
triadic
#7BAA2A #2A7BAA #AA2A7B
tetradic
#7BAA2A #2AAA99 #592AAA #AA2A3B
square
#7BAA2A #2AAA99 #592AAA #AA2A3B
split-complementary
#7BAA2A #2A3BAA #992AAA
monochromatic
#344812 #57791E #7BAA2A #9CD041 #B5DC72

Accessibility & contrast

On white

2.75
#7BAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7BAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAA2A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAA2A#FFFFFF#000000##000000
##7BAA2A1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#7FA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7baa2a;
/* rgb */ color: rgb(123, 170, 42);
/* oklch */ color: oklch(68.0% 0.161 128.1);
Tailwind
colors: {
  custom: {
    50: '#a5c36d',
    500: '#7baa2a',
    950: '#000000',
  },
}
SCSS
$custom: #7baa2a;
$custom-light: #a5c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7baa2a",
  "rgb": {
    "r": 123,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 82.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68024,
    "c": 0.16068,
    "h": 128.1
  },
  "luminance": 0.33128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7BAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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