#7BA11A#7BA11A

#7BA11A is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.7% C 0.158 H 125.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7BA11A
RGBrgb(123, 161, 26)
HSLhsl(77, 72%, 37%)
HSVhsv(77, 84%, 63%)
CMYKcmyk(23.6%, 0%, 83.9%, 36.9%)
CIE-LABlab(61.46, -31.13, 59.12)
CIE-LCHlch(61.46, 66.81, 117.77°)
OKLaboklab(65.72% -0.0909 0.1287)
OKLCHoklch(65.72% 0.158 125.2)
XYZxyz(21.0999, 29.7750, 5.6126)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA11A #401AA1
analogous
#A1841A #7BA11A #37A11A
triadic
#7BA11A #1A7BA1 #A11A7B
tetradic
#7BA11A #1AA184 #401AA1 #A11A37
square
#7BA11A #1AA184 #401AA1 #A11A37
split-complementary
#7BA11A #1A37A1 #841AA1
monochromatic
#2A3809 #536C11 #7BA11A #A3D623 #BAE352

Accessibility & contrast

On white

3.02
#7BA11A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7BA11A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA11A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA11A#FFFFFF#000000##000000
##7BA11A1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#819989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba11a;
/* rgb */ color: rgb(123, 161, 26);
/* oklch */ color: oklch(65.7% 0.158 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5bd65',
    500: '#7ba11a',
    950: '#000000',
  },
}
SCSS
$custom: #7ba11a;
$custom-light: #a5bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba11a",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 76.889,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65723,
    "c": 0.15752,
    "h": 125.2
  },
  "luminance": 0.29775
}

Semantic roles & 50–950 ramp

primary
#7BA11A
secondary
#7251C6
accent
#39EF6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA11A

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

Preview Lab → · Contrast checker → · Palette generator →

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