#7BA22D#7BA22D

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

Color values

HEX#7BA22D
RGBrgb(123, 162, 45)
HSLhsl(80, 57%, 41%)
HSVhsv(80, 72%, 64%)
CMYKcmyk(24.1%, 0%, 72.2%, 36.5%)
CIE-LABlab(61.86, -30.66, 53.43)
CIE-LCHlch(61.86, 61.60, 119.85°)
OKLaboklab(66.08% -0.0882 0.1198)
OKLCHoklch(66.08% 0.149 126.4)
XYZxyz(21.5625, 30.2407, 7.1831)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA22D #542DA2
analogous
#A28E2D #7BA22D #40A22D
triadic
#7BA22D #2D7BA2 #A22D7B
tetradic
#7BA22D #2DA28E #542DA2 #A22D40
square
#7BA22D #2DA28E #542DA2 #A22D40
split-complementary
#7BA22D #2D40A2 #8E2DA2
monochromatic
#324212 #577220 #7BA22D #9DCA42 #B6D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7ba22d;
/* rgb */ color: rgb(123, 162, 45);
/* oklch */ color: oklch(66.1% 0.149 126.4);
Tailwind
colors: {
  custom: {
    50: '#a5bd6e',
    500: '#7ba22d',
    950: '#000000',
  },
}
SCSS
$custom: #7ba22d;
$custom-light: #a5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba22d",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6608,
    "c": 0.14874,
    "h": 126.4
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#7BA22D
secondary
#876CBF
accent
#48E07B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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