#7BA52B#7BA52B

#7BA52B is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.154 H 127.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7BA52B
RGBrgb(123, 165, 43)
HSLhsl(81, 59%, 41%)
HSVhsv(81, 74%, 65%)
CMYKcmyk(25.5%, 0%, 73.9%, 35.3%)
CIE-LABlab(62.76, -32.19, 55.05)
CIE-LCHlch(62.76, 63.77, 120.32°)
OKLaboklab(66.8% -0.0925 0.1228)
OKLCHoklch(66.8% 0.154 127)
XYZxyz(22.0596, 31.2952, 7.1634)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA52B #552BA5
analogous
#A5922B #7BA52B #3EA52B
triadic
#7BA52B #2B7BA5 #A52B7B
tetradic
#7BA52B #2BA592 #552BA5 #A52B3E
square
#7BA52B #2BA592 #552BA5 #A52B3E
split-complementary
#7BA52B #2B3EA5 #922BA5
monochromatic
#334412 #57741E #7BA52B #9DCD40 #B6DA71

Accessibility & contrast

On white

2.89
#7BA52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7BA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA52B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA52B#FFFFFF#000000##000000
##7BA52B1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A13
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#809D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba52b;
/* rgb */ color: rgb(123, 165, 43);
/* oklch */ color: oklch(66.8% 0.154 127.0);
Tailwind
colors: {
  custom: {
    50: '#a5c06d',
    500: '#7ba52b',
    950: '#000000',
  },
}
SCSS
$custom: #7ba52b;
$custom-light: #a5c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba52b",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 80.656,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.1538,
    "h": 127
  },
  "luminance": 0.31296
}

Semantic roles & 50–950 ramp

primary
#7BA52B
secondary
#886BC1
accent
#46E27C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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