#7BAB40#7BAB40

#7BAB40 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.5% C 0.147 H 130.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7BAB40
RGBrgb(123, 171, 64)
HSLhsl(87, 46%, 46%)
HSVhsv(87, 63%, 67%)
CMYKcmyk(28.1%, 0%, 62.6%, 32.9%)
CIE-LABlab(64.73, -33.45, 48.63)
CIE-LCHlch(64.73, 59.02, 124.53°)
OKLaboklab(68.45% -0.0942 0.1123)
OKLCHoklch(68.45% 0.147 130)
XYZxyz(23.6565, 33.7063, 10.1091)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB40 #7040AB
analogous
#ABA540 #7BAB40 #45AB40
triadic
#7BAB40 #407BAB #AB407B
tetradic
#7BAB40 #40ABA5 #7040AB #AB4045
square
#7BAB40 #40ABA5 #7040AB #AB4045
split-complementary
#7BAB40 #4045AB #A540AB
monochromatic
#3B521F #5B7E2F #7BAB40 #99C563 #B6D590

Accessibility & contrast

On white

2.71
#7BAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#7BAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB40
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB40#FFFFFF#000000##000000
##7BAB401.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#7EA494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab40;
/* rgb */ color: rgb(123, 171, 64);
/* oklch */ color: oklch(68.5% 0.147 130.0);
Tailwind
colors: {
  custom: {
    50: '#a4c479',
    500: '#7bab40',
    950: '#000000',
  },
}
SCSS
$custom: #7bab40;
$custom-light: #a4c479;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab40",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 86.916,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.14657,
    "h": 130
  },
  "luminance": 0.33707
}

Semantic roles & 50–950 ramp

primary
#7BAB40
secondary
#A086C1
accent
#53D58D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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