#7BA02B#7BA02B

#7BA02B is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.6% C 0.147 H 125.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7BA02B
RGBrgb(123, 160, 43)
HSLhsl(79, 58%, 40%)
HSVhsv(79, 73%, 63%)
CMYKcmyk(23.1%, 0%, 73.1%, 37.3%)
CIE-LABlab(61.24, -29.84, 53.56)
CIE-LCHlch(61.24, 61.31, 119.12°)
OKLaboklab(65.58% -0.0861 0.1197)
OKLCHoklch(65.58% 0.147 125.7)
XYZxyz(21.1754, 29.5267, 6.8686)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA02B #502BA0
analogous
#A08A2B #7BA02B #41A02B
triadic
#7BA02B #2B7BA0 #A02B7B
tetradic
#7BA02B #2BA08A #502BA0 #A02B41
square
#7BA02B #2BA08A #502BA0 #A02B41
split-complementary
#7BA02B #2B41A0 #8A2BA0
monochromatic
#314011 #56701E #7BA02B #9ECB3D #B6D86E

Accessibility & contrast

On white

3.04
#7BA02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7BA02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA02B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA02B#FFFFFF#000000##000000
##7BA02B1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99515
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#809889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba02b;
/* rgb */ color: rgb(123, 160, 43);
/* oklch */ color: oklch(65.6% 0.147 125.7);
Tailwind
colors: {
  custom: {
    50: '#a5bc6c',
    500: '#7ba02b',
    950: '#000000',
  },
}
SCSS
$custom: #7ba02b;
$custom-light: #a5bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba02b",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 78.974,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65576,
    "c": 0.14747,
    "h": 125.7
  },
  "luminance": 0.29527
}

Semantic roles & 50–950 ramp

primary
#7BA02B
secondary
#8368BF
accent
#47E178
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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