#7BA42A#7BA42A

#7BA42A is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.5% C 0.153 H 126.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7BA42A
RGBrgb(123, 164, 42)
HSLhsl(80, 59%, 40%)
HSVhsv(80, 74%, 64%)
CMYKcmyk(25%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.45, -31.78, 55.10)
CIE-LCHlch(62.45, 63.61, 119.98°)
OKLaboklab(66.55% -0.0915 0.1228)
OKLCHoklch(66.55% 0.153 126.7)
XYZxyz(21.8618, 30.9287, 7.0081)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA42A #532AA4
analogous
#A4902A #7BA42A #3EA42A
triadic
#7BA42A #2A7BA4 #A42A7B
tetradic
#7BA42A #2AA490 #532AA4 #A42A3E
square
#7BA42A #2AA490 #532AA4 #A42A3E
split-complementary
#7BA42A #2A3EA4 #902AA4
monochromatic
#324311 #56731E #7BA42A #9DCD3E #B6DA6E

Accessibility & contrast

On white

2.92
#7BA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7BA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA42A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA42A#FFFFFF#000000##000000
##7BA42A1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9911
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#809C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba42a;
/* rgb */ color: rgb(123, 164, 42);
/* oklch */ color: oklch(66.5% 0.153 126.7);
Tailwind
colors: {
  custom: {
    50: '#a5bf6c',
    500: '#7ba42a',
    950: '#000000',
  },
}
SCSS
$custom: #7ba42a;
$custom-light: #a5bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba42a",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 80.164,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66549,
    "c": 0.15315,
    "h": 126.7
  },
  "luminance": 0.30929
}

Semantic roles & 50–950 ramp

primary
#7BA42A
secondary
#8669C1
accent
#45E27A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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