#7BA126#7BA126

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

Color values

HEX#7BA126
RGBrgb(123, 161, 38)
HSLhsl(79, 62%, 39%)
HSVhsv(79, 76%, 63%)
CMYKcmyk(23.6%, 0%, 76.4%, 36.9%)
CIE-LABlab(61.52, -30.59, 55.59)
CIE-LCHlch(61.52, 63.45, 118.82°)
OKLaboklab(65.79% -0.0886 0.1232)
OKLCHoklch(65.79% 0.152 125.7)
XYZxyz(21.2632, 29.8403, 6.4729)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA126 #4C26A1
analogous
#A18A26 #7BA126 #3DA126
triadic
#7BA126 #267BA1 #A1267B
tetradic
#7BA126 #26A18A #4C26A1 #A1263D
square
#7BA126 #26A18A #4C26A1 #A1263D
split-complementary
#7BA126 #263DA1 #8A26A1
monochromatic
#2F3E0F #556F1A #7BA126 #A0CF35 #B7DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA126#FFFFFF#000000##000000
##7BA1261.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)
#AA9608
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#81998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba126;
/* rgb */ color: rgb(123, 161, 38);
/* oklch */ color: oklch(65.8% 0.152 125.7);
Tailwind
colors: {
  custom: {
    50: '#a5bd6a',
    500: '#7ba126',
    950: '#000000',
  },
}
SCSS
$custom: #7ba126;
$custom-light: #a5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba126",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 78.537,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.15172,
    "h": 125.7
  },
  "luminance": 0.29841
}

Semantic roles & 50–950 ramp

primary
#7BA126
secondary
#7F62C1
accent
#43E575
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA126

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

Preview Lab → · Contrast checker → · Palette generator →

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