#7BAC2A#7BAC2A

#7BAC2A is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.5% C 0.163 H 128.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7BAC2A
RGBrgb(123, 172, 42)
HSLhsl(83, 61%, 42%)
HSVhsv(83, 76%, 67%)
CMYKcmyk(28.5%, 0%, 75.6%, 32.5%)
CIE-LABlab(64.87, -35.47, 57.44)
CIE-LCHlch(64.87, 67.51, 121.70°)
OKLaboklab(68.52% -0.1016 0.1277)
OKLCHoklch(68.52% 0.163 128.5)
XYZxyz(23.3388, 33.8826, 7.5004)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAC2A #5B2AAC
analogous
#AC9C2A #7BAC2A #3AAC2A
triadic
#7BAC2A #2A7BAC #AC2A7B
tetradic
#7BAC2A #2AAC9C #5B2AAC #AC2A3A
square
#7BAC2A #2AAC9C #5B2AAC #AC2A3A
split-complementary
#7BAC2A #2A3AAC #9C2AAC
monochromatic
#354A12 #587B1E #7BAC2A #9BD142 #B5DD73

Accessibility & contrast

On white

2.70
#7BAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#7BAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAC2A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAC2A#FFFFFF#000000##000000
##7BAC2A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00C
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#7FA493
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bac2a;
/* rgb */ color: rgb(123, 172, 42);
/* oklch */ color: oklch(68.5% 0.163 128.5);
Tailwind
colors: {
  custom: {
    50: '#a5c56d',
    500: '#7bac2a',
    950: '#000000',
  },
}
SCSS
$custom: #7bac2a;
$custom-light: #a5c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7bac2a",
  "rgb": {
    "r": 123,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 82.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.16318,
    "h": 128.5
  },
  "luminance": 0.33883
}

Semantic roles & 50–950 ramp

primary
#7BAC2A
secondary
#8E6DC4
accent
#44E480
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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