#7BA02A#7BA02A

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

Color values

HEX#7BA02A
RGBrgb(123, 160, 42)
HSLhsl(79, 58%, 40%)
HSVhsv(79, 74%, 63%)
CMYKcmyk(23.1%, 0%, 73.8%, 37.3%)
CIE-LABlab(61.24, -29.90, 53.92)
CIE-LCHlch(61.24, 61.66, 119.00°)
OKLaboklab(65.57% -0.0863 0.1203)
OKLCHoklch(65.57% 0.148 125.7)
XYZxyz(21.1572, 29.5194, 6.7732)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA02A #4F2AA0
analogous
#A08A2A #7BA02A #40A02A
triadic
#7BA02A #2A7BA0 #A02A7B
tetradic
#7BA02A #2AA08A #4F2AA0 #A02A40
square
#7BA02A #2AA08A #4F2AA0 #A02A40
split-complementary
#7BA02A #2A40A0 #8A2AA0
monochromatic
#303F11 #56701D #7BA02A #9ECC3C #B6D86C

Accessibility & contrast

On white

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

On black

6.90
#7BA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA02A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA02A#FFFFFF#000000##000000
##7BA02A1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba02a;
/* rgb */ color: rgb(123, 160, 42);
/* oklch */ color: oklch(65.6% 0.148 125.7);
Tailwind
colors: {
  custom: {
    50: '#a5bc6c',
    500: '#7ba02a',
    950: '#000000',
  },
}
SCSS
$custom: #7ba02a;
$custom-light: #a5bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba02a",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 78.814,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65569,
    "c": 0.1481,
    "h": 125.7
  },
  "luminance": 0.2952
}

Semantic roles & 50–950 ramp

primary
#7BA02A
secondary
#8267BF
accent
#46E277
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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