#7BA02C#7BA02C

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

Color values

HEX#7BA02C
RGBrgb(123, 160, 44)
HSLhsl(79, 57%, 40%)
HSVhsv(79, 73%, 63%)
CMYKcmyk(23.1%, 0%, 72.5%, 37.3%)
CIE-LABlab(61.25, -29.78, 53.20)
CIE-LCHlch(61.25, 60.96, 119.24°)
OKLaboklab(65.58% -0.0858 0.1191)
OKLCHoklch(65.58% 0.147 125.8)
XYZxyz(21.1939, 29.5341, 6.9665)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA02C #512CA0
analogous
#A08B2C #7BA02C #41A02C
triadic
#7BA02C #2C7BA0 #A02C7B
tetradic
#7BA02C #2CA08B #512CA0 #A02C41
square
#7BA02C #2CA08B #512CA0 #A02C41
split-complementary
#7BA02C #2C41A0 #8B2CA0
monochromatic
#314012 #56701F #7BA02C #9ECA3F #B6D76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA02C#FFFFFF#000000##000000
##7BA02C1.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)
#A99517
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#809889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba02c;
/* rgb */ color: rgb(123, 160, 44);
/* oklch */ color: oklch(65.6% 0.147 125.8);
Tailwind
colors: {
  custom: {
    50: '#a5bc6d',
    500: '#7ba02c',
    950: '#000000',
  },
}
SCSS
$custom: #7ba02c;
$custom-light: #a5bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba02c",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 79.138,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.14683,
    "h": 125.8
  },
  "luminance": 0.29534
}

Semantic roles & 50–950 ramp

primary
#7BA02C
secondary
#8469BF
accent
#48E078
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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