#7BA12C#7BA12C

#7BA12C is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.8% C 0.148 H 126.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7BA12C
RGBrgb(123, 161, 44)
HSLhsl(79, 57%, 40%)
HSVhsv(79, 73%, 63%)
CMYKcmyk(23.6%, 0%, 72.7%, 36.9%)
CIE-LABlab(61.55, -30.25, 53.50)
CIE-LCHlch(61.55, 61.46, 119.49°)
OKLaboklab(65.83% -0.0871 0.1198)
OKLCHoklch(65.83% 0.148 126)
XYZxyz(21.3680, 29.8822, 7.0245)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA12C #522CA1
analogous
#A18C2C #7BA12C #41A12C
triadic
#7BA12C #2C7BA1 #A12C7B
tetradic
#7BA12C #2CA18C #522CA1 #A12C41
square
#7BA12C #2CA18C #522CA1 #A12C41
split-complementary
#7BA12C #2C41A1 #8C2CA1
monochromatic
#324112 #56711F #7BA12C #9DCB40 #B6D870

Accessibility & contrast

On white

3.01
#7BA12C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7BA12C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA12C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA12C#FFFFFF#000000##000000
##7BA12C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9617
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#80998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba12c;
/* rgb */ color: rgb(123, 161, 44);
/* oklch */ color: oklch(65.8% 0.148 126.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ba12c',
    950: '#000000',
  },
}
SCSS
$custom: #7ba12c;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba12c",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 79.487,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.14811,
    "h": 126
  },
  "luminance": 0.29883
}

Semantic roles & 50–950 ramp

primary
#7BA12C
secondary
#856ABF
accent
#47E079
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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