#7BA128#7BA128

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

Color values

HEX#7BA128
RGBrgb(123, 161, 40)
HSLhsl(79, 60%, 39%)
HSVhsv(79, 75%, 63%)
CMYKcmyk(23.6%, 0%, 75.2%, 36.9%)
CIE-LABlab(61.53, -30.48, 54.92)
CIE-LCHlch(61.53, 62.81, 119.03°)
OKLaboklab(65.8% -0.0881 0.1221)
OKLCHoklch(65.8% 0.151 125.8)
XYZxyz(21.2964, 29.8536, 6.6474)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA128 #4E28A1
analogous
#A18B28 #7BA128 #3FA128
triadic
#7BA128 #287BA1 #A1287B
tetradic
#7BA128 #28A18B #4E28A1 #A1283F
square
#7BA128 #28A18B #4E28A1 #A1283F
split-complementary
#7BA128 #283FA1 #8B28A1
monochromatic
#303F10 #56701C #7BA128 #9FCE39 #B7DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA128#FFFFFF#000000##000000
##7BA1281.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)
#AA960E
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#80998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba128;
/* rgb */ color: rgb(123, 161, 40);
/* oklch */ color: oklch(65.8% 0.151 125.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd6b',
    500: '#7ba128',
    950: '#000000',
  },
}
SCSS
$custom: #7ba128;
$custom-light: #a5bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba128",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 78.843,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.658,
    "c": 0.15058,
    "h": 125.8
  },
  "luminance": 0.29854
}

Semantic roles & 50–950 ramp

primary
#7BA128
secondary
#8165C0
accent
#44E376
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA128

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

Preview Lab → · Contrast checker → · Palette generator →

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