#7BAC2C#7BAC2C

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

Color values

HEX#7BAC2C
RGBrgb(123, 172, 44)
HSLhsl(83, 59%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(28.5%, 0%, 74.4%, 32.5%)
CIE-LABlab(64.88, -35.36, 56.77)
CIE-LCHlch(64.88, 66.88, 121.92°)
OKLaboklab(68.53% -0.1011 0.1266)
OKLCHoklch(68.53% 0.162 128.6)
XYZxyz(23.3755, 33.8973, 7.6936)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAC2C #5D2CAC
analogous
#AC9D2C #7BAC2C #3BAC2C
triadic
#7BAC2C #2C7BAC #AC2C7B
tetradic
#7BAC2C #2CAC9D #5D2CAC #AC2C3B
square
#7BAC2C #2CAC9D #5D2CAC #AC2C3B
split-complementary
#7BAC2C #2C3BAC #9D2CAC
monochromatic
#354B13 #587B20 #7BAC2C #9BD046 #B5DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAC2C#FFFFFF#000000##000000
##7BAC2C1.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)
#B4A012
Deuteranopia (green-blind)
#AE9C38
Tritanopia (blue-blind)
#7FA493
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bac2c;
/* rgb */ color: rgb(123, 172, 44);
/* oklch */ color: oklch(68.5% 0.162 128.6);
Tailwind
colors: {
  custom: {
    50: '#a5c56e',
    500: '#7bac2c',
    950: '#000000',
  },
}
SCSS
$custom: #7bac2c;
$custom-light: #a5c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7bac2c",
  "rgb": {
    "r": 123,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 82.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68529,
    "c": 0.16202,
    "h": 128.6
  },
  "luminance": 0.33898
}

Semantic roles & 50–950 ramp

primary
#7BAC2C
secondary
#9070C4
accent
#45E281
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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