#7BA22F#7BA22F

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

Color values

HEX#7BA22F
RGBrgb(123, 162, 47)
HSLhsl(80, 55%, 41%)
HSVhsv(80, 71%, 64%)
CMYKcmyk(24.1%, 0%, 71%, 36.5%)
CIE-LABlab(61.87, -30.54, 52.68)
CIE-LCHlch(61.87, 60.89, 120.10°)
OKLaboklab(66.1% -0.0877 0.1185)
OKLCHoklch(66.1% 0.147 126.5)
XYZxyz(21.6019, 30.2565, 7.3908)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA22F #562FA2
analogous
#A28F2F #7BA22F #41A22F
triadic
#7BA22F #2F7BA2 #A22F7B
tetradic
#7BA22F #2FA28F #562FA2 #A22F41
square
#7BA22F #2FA28F #562FA2 #A22F41
split-complementary
#7BA22F #2F41A2 #8F2FA2
monochromatic
#334313 #577321 #7BA22F #9CC945 #B6D775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA22F#FFFFFF#000000##000000
##7BA22F1.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)
#AB971C
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba22f;
/* rgb */ color: rgb(123, 162, 47);
/* oklch */ color: oklch(66.1% 0.147 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd6f',
    500: '#7ba22f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba22f;
$custom-light: #a5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba22f",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 80.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66096,
    "c": 0.14742,
    "h": 126.5
  },
  "luminance": 0.30257
}

Semantic roles & 50–950 ramp

primary
#7BA22F
secondary
#896EBF
accent
#49DE7C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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