#7BA12A#7BA12A

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

Color values

HEX#7BA12A
RGBrgb(123, 161, 42)
HSLhsl(79, 59%, 40%)
HSVhsv(79, 74%, 63%)
CMYKcmyk(23.6%, 0%, 73.9%, 36.9%)
CIE-LABlab(61.54, -30.37, 54.22)
CIE-LCHlch(61.54, 62.14, 119.26°)
OKLaboklab(65.81% -0.0876 0.1209)
OKLCHoklch(65.81% 0.149 125.9)
XYZxyz(21.3313, 29.8675, 6.8312)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA12A #502AA1
analogous
#A18C2A #7BA12A #3FA12A
triadic
#7BA12A #2A7BA1 #A12A7B
tetradic
#7BA12A #2AA18C #502AA1 #A12A3F
square
#7BA12A #2AA18C #502AA1 #A12A3F
split-complementary
#7BA12A #2A3FA1 #8C2AA1
monochromatic
#314011 #56701D #7BA12A #9ECC3C #B6D96D

Accessibility & contrast

On white

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

On black

6.97
#7BA12A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA12A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA12A#FFFFFF#000000##000000
##7BA12A1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba12a;
/* rgb */ color: rgb(123, 161, 42);
/* oklch */ color: oklch(65.8% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd6c',
    500: '#7ba12a',
    950: '#000000',
  },
}
SCSS
$custom: #7ba12a;
$custom-light: #a5bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba12a",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 79.16,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65814,
    "c": 0.14936,
    "h": 125.9
  },
  "luminance": 0.29868
}

Semantic roles & 50–950 ramp

primary
#7BA12A
secondary
#8367C0
accent
#46E278
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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