#7BAA2F#7BAA2F

#7BAA2F is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.1% C 0.158 H 128.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7BAA2F
RGBrgb(123, 170, 47)
HSLhsl(83, 57%, 43%)
HSVhsv(83, 72%, 67%)
CMYKcmyk(27.6%, 0%, 72.4%, 33.3%)
CIE-LABlab(64.29, -34.27, 55.11)
CIE-LCHlch(64.29, 64.89, 121.87°)
OKLaboklab(68.06% -0.0979 0.1236)
OKLCHoklch(68.06% 0.158 128.4)
XYZxyz(23.0562, 33.1651, 7.8755)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAA2F #5E2FAA
analogous
#AA9C2F #7BAA2F #3DAA2F
triadic
#7BAA2F #2F7BAA #AA2F7B
tetradic
#7BAA2F #2FAA9C #5E2FAA #AA2F3D
square
#7BAA2F #2FAA9C #5E2FAA #AA2F3D
split-complementary
#7BAA2F #2F3DAA #9C2FAA
monochromatic
#364A14 #587A22 #7BAA2F #9BCD49 #B5DA79

Accessibility & contrast

On white

2.75
#7BAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7BAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAA2F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAA2F#FFFFFF#000000##000000
##7BAA2F1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E19
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#7FA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7baa2f;
/* rgb */ color: rgb(123, 170, 47);
/* oklch */ color: oklch(68.1% 0.158 128.4);
Tailwind
colors: {
  custom: {
    50: '#a5c370',
    500: '#7baa2f',
    950: '#000000',
  },
}
SCSS
$custom: #7baa2f;
$custom-light: #a5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#7baa2f",
  "rgb": {
    "r": 123,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 82.927,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68059,
    "c": 0.15766,
    "h": 128.4
  },
  "luminance": 0.33166
}

Semantic roles & 50–950 ramp

primary
#7BAA2F
secondary
#9172C2
accent
#48E082
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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