#7BAC2F#7BAC2F

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

Color values

HEX#7BAC2F
RGBrgb(123, 172, 47)
HSLhsl(84, 57%, 43%)
HSVhsv(84, 73%, 67%)
CMYKcmyk(28.5%, 0%, 72.7%, 32.5%)
CIE-LABlab(64.90, -35.18, 55.71)
CIE-LCHlch(64.90, 65.89, 122.27°)
OKLaboklab(68.55% -0.1004 0.1249)
OKLCHoklch(68.55% 0.16 128.8)
XYZxyz(23.4339, 33.9206, 8.0015)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAC2F #602FAC
analogous
#AC9E2F #7BAC2F #3CAC2F
triadic
#7BAC2F #2F7BAC #AC2F7B
tetradic
#7BAC2F #2FAC9E #602FAC #AC2F3C
square
#7BAC2F #2FAC9E #602FAC #AC2F3C
split-complementary
#7BAC2F #2F3CAC #9E2FAC
monochromatic
#364C15 #597C22 #7BAC2F #9ACE4B #B5DB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAC2F#FFFFFF#000000##000000
##7BAC2F1.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)
#B4A018
Deuteranopia (green-blind)
#AE9C3A
Tritanopia (blue-blind)
#7FA494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bac2f;
/* rgb */ color: rgb(123, 172, 47);
/* oklch */ color: oklch(68.5% 0.160 128.8);
Tailwind
colors: {
  custom: {
    50: '#a5c570',
    500: '#7bac2f',
    950: '#000000',
  },
}
SCSS
$custom: #7bac2f;
$custom-light: #a5c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7bac2f",
  "rgb": {
    "r": 123,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 83.52,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6855,
    "c": 0.1602,
    "h": 128.8
  },
  "luminance": 0.33921
}

Semantic roles & 50–950 ramp

primary
#7BAC2F
secondary
#9374C3
accent
#47E083
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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