#7BA22C#7BA22C

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

Color values

HEX#7BA22C
RGBrgb(123, 162, 44)
HSLhsl(80, 57%, 40%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(24.1%, 0%, 72.8%, 36.5%)
CIE-LABlab(61.85, -30.72, 53.80)
CIE-LCHlch(61.85, 61.95, 119.73°)
OKLaboklab(66.07% -0.0884 0.1204)
OKLCHoklch(66.07% 0.149 126.3)
XYZxyz(21.5434, 30.2331, 7.0830)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA22C #532CA2
analogous
#A28E2C #7BA22C #40A22C
triadic
#7BA22C #2C7BA2 #A22C7B
tetradic
#7BA22C #2CA28E #532CA2 #A22C40
square
#7BA22C #2CA28E #532CA2 #A22C40
split-complementary
#7BA22C #2C40A2 #8E2CA2
monochromatic
#324212 #56721F #7BA22C #9DCB40 #B6D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA22C#FFFFFF#000000##000000
##7BA22C1.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)
#AB9717
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba22c;
/* rgb */ color: rgb(123, 162, 44);
/* oklch */ color: oklch(66.1% 0.149 126.3);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ba22c',
    950: '#000000',
  },
}
SCSS
$custom: #7ba22c;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba22c",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 79.831,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.14938,
    "h": 126.3
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#7BA22C
secondary
#866ABF
accent
#47E17A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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