#7BA22E#7BA22E

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

Color values

HEX#7BA22E
RGBrgb(123, 162, 46)
HSLhsl(80, 56%, 41%)
HSVhsv(80, 72%, 64%)
CMYKcmyk(24.1%, 0%, 71.6%, 36.5%)
CIE-LABlab(61.87, -30.60, 53.06)
CIE-LCHlch(61.87, 61.25, 119.97°)
OKLaboklab(66.09% -0.0879 0.1192)
OKLCHoklch(66.09% 0.148 126.4)
XYZxyz(21.5819, 30.2485, 7.2857)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA22E #552EA2
analogous
#A28F2E #7BA22E #41A22E
triadic
#7BA22E #2E7BA2 #A22E7B
tetradic
#7BA22E #2EA28F #552EA2 #A22E41
square
#7BA22E #2EA28F #552EA2 #A22E41
split-complementary
#7BA22E #2E41A2 #8F2EA2
monochromatic
#334313 #577220 #7BA22E #9DCA43 #B6D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA22E#FFFFFF#000000##000000
##7BA22E1.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)
#AB971A
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba22e;
/* rgb */ color: rgb(123, 162, 46);
/* oklch */ color: oklch(66.1% 0.148 126.4);
Tailwind
colors: {
  custom: {
    50: '#a5bd6e',
    500: '#7ba22e',
    950: '#000000',
  },
}
SCSS
$custom: #7ba22e;
$custom-light: #a5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba22e",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 80.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66088,
    "c": 0.14809,
    "h": 126.4
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

primary
#7BA22E
secondary
#886DBF
accent
#49DF7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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