#7BA922#7BA922

#7BA922 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.7% C 0.164 H 127.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7BA922
RGBrgb(123, 169, 34)
HSLhsl(80, 67%, 40%)
HSVhsv(80, 80%, 66%)
CMYKcmyk(27.2%, 0%, 79.9%, 33.7%)
CIE-LABlab(63.92, -34.51, 59.10)
CIE-LCHlch(63.92, 68.44, 120.28°)
OKLaboklab(67.73% -0.0995 0.1299)
OKLCHoklch(67.73% 0.164 127.5)
XYZxyz(22.6451, 32.7019, 6.6321)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA922 #5022A9
analogous
#A99322 #7BA922 #38A922
triadic
#7BA922 #227BA9 #A9227B
tetradic
#7BA922 #22A993 #5022A9 #A92238
square
#7BA922 #22A993 #5022A9 #A92238
split-complementary
#7BA922 #2238A9 #9322A9
monochromatic
#31430D #567618 #7BA922 #9ED632 #B6E065

Accessibility & contrast

On white

2.78
#7BA922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#7BA922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA922
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA922#FFFFFF#000000##000000
##7BA9221.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#80A190
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ba922;
/* rgb */ color: rgb(123, 169, 34);
/* oklch */ color: oklch(67.7% 0.164 127.5);
Tailwind
colors: {
  custom: {
    50: '#a5c269',
    500: '#7ba922',
    950: '#000000',
  },
}
SCSS
$custom: #7ba922;
$custom-light: #a5c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba922",
  "rgb": {
    "r": 123,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 80.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.16365,
    "h": 127.5
  },
  "luminance": 0.32702
}

Semantic roles & 50–950 ramp

primary
#7BA922
secondary
#8361C5
accent
#3EE979
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA922

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

Preview Lab → · Contrast checker → · Palette generator →

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