#7BA22B#7BA22B

#7BA22B is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.150 H 126.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7BA22B
RGBrgb(123, 162, 43)
HSLhsl(80, 58%, 40%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(24.1%, 0%, 73.5%, 36.5%)
CIE-LABlab(61.85, -30.78, 54.16)
CIE-LCHlch(61.85, 62.30, 119.61°)
OKLaboklab(66.07% -0.0887 0.121)
OKLCHoklch(66.07% 0.15 126.2)
XYZxyz(21.5249, 30.2257, 6.9851)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA22B #522BA2
analogous
#A28E2B #7BA22B #3FA22B
triadic
#7BA22B #2B7BA2 #A22B7B
tetradic
#7BA22B #2BA28E #522BA2 #A22B3F
square
#7BA22B #2BA28E #522BA2 #A22B3F
split-complementary
#7BA22B #2B3FA2 #8E2BA2
monochromatic
#324111 #56721E #7BA22B #9DCC3E #B6D96F

Accessibility & contrast

On white

2.98
#7BA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7BA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA22B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA22B#FFFFFF#000000##000000
##7BA22B1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9715
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba22b;
/* rgb */ color: rgb(123, 162, 43);
/* oklch */ color: oklch(66.1% 0.150 126.2);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ba22b',
    950: '#000000',
  },
}
SCSS
$custom: #7ba22b;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba22b",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 79.664,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66066,
    "c": 0.15001,
    "h": 126.2
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

primary
#7BA22B
secondary
#8569C0
accent
#47E179
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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