#7BA42B#7BA42B

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

Color values

HEX#7BA42B
RGBrgb(123, 164, 43)
HSLhsl(80, 58%, 41%)
HSVhsv(80, 74%, 64%)
CMYKcmyk(25%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.45, -31.73, 54.75)
CIE-LCHlch(62.45, 63.28, 120.09°)
OKLaboklab(66.56% -0.0913 0.1222)
OKLCHoklch(66.56% 0.153 126.8)
XYZxyz(21.8800, 30.9359, 7.1035)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA42B #542BA4
analogous
#A4902B #7BA42B #3EA42B
triadic
#7BA42B #2B7BA4 #A42B7B
tetradic
#7BA42B #2BA490 #542BA4 #A42B3E
square
#7BA42B #2BA490 #542BA4 #A42B3E
split-complementary
#7BA42B #2B3EA4 #902BA4
monochromatic
#324312 #57741E #7BA42B #9DCD3F #B6D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA42B#FFFFFF#000000##000000
##7BA42B1.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)
#AD9914
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#809C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba42b;
/* rgb */ color: rgb(123, 164, 43);
/* oklch */ color: oklch(66.6% 0.153 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5bf6d',
    500: '#7ba42b',
    950: '#000000',
  },
}
SCSS
$custom: #7ba42b;
$custom-light: #a5bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba42b",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 80.331,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.15254,
    "h": 126.8
  },
  "luminance": 0.30936
}

Semantic roles & 50–950 ramp

primary
#7BA42B
secondary
#876AC1
accent
#46E27B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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