#7BA32B#7BA32B

#7BA32B is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.3% C 0.151 H 126.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7BA32B
RGBrgb(123, 163, 43)
HSLhsl(80, 58%, 40%)
HSVhsv(80, 74%, 64%)
CMYKcmyk(24.5%, 0%, 73.6%, 36.1%)
CIE-LABlab(62.15, -31.26, 54.45)
CIE-LCHlch(62.15, 62.79, 119.86°)
OKLaboklab(66.31% -0.09 0.1216)
OKLCHoklch(66.31% 0.151 126.5)
XYZxyz(21.7017, 30.5794, 7.0441)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA32B #532BA3
analogous
#A38F2B #7BA32B #3FA32B
triadic
#7BA32B #2B7BA3 #A32B7B
tetradic
#7BA32B #2BA38F #532BA3 #A32B3F
square
#7BA32B #2BA38F #532BA3 #A32B3F
split-complementary
#7BA32B #2B3FA3 #8F2BA3
monochromatic
#324211 #56731E #7BA32B #9DCC3F #B6D96F

Accessibility & contrast

On white

2.95
#7BA32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7BA32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA32B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA32B#FFFFFF#000000##000000
##7BA32B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9814
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#809B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba32b;
/* rgb */ color: rgb(123, 163, 43);
/* oklch */ color: oklch(66.3% 0.151 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5be6d',
    500: '#7ba32b',
    950: '#000000',
  },
}
SCSS
$custom: #7ba32b;
$custom-light: #a5be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba32b",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 80,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.15128,
    "h": 126.5
  },
  "luminance": 0.3058
}

Semantic roles & 50–950 ramp

primary
#7BA32B
secondary
#866AC0
accent
#46E17A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA32B

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

Preview Lab → · Contrast checker → · Palette generator →

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