#7BA115#7BA115

#7BA115 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.7% C 0.159 H 125.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7BA115
RGBrgb(123, 161, 21)
HSLhsl(76, 77%, 36%)
HSVhsv(76, 87%, 63%)
CMYKcmyk(23.6%, 0%, 87%, 36.9%)
CIE-LABlab(61.44, -31.30, 60.30)
CIE-LCHlch(61.44, 67.93, 117.43°)
OKLaboklab(65.7% -0.0916 0.1304)
OKLCHoklch(65.7% 0.159 125.1)
XYZxyz(21.0488, 29.7546, 5.3436)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA115 #3B15A1
analogous
#A18115 #7BA115 #35A115
triadic
#7BA115 #157BA1 #A1157B
tetradic
#7BA115 #15A181 #3B15A1 #A11535
square
#7BA115 #15A181 #3B15A1 #A11535
split-complementary
#7BA115 #1535A1 #8115A1
monochromatic
#283507 #526B0E #7BA115 #A4D71C #BCE749

Accessibility & contrast

On white

3.02
#7BA115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7BA115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA115
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA115#FFFFFF#000000##000000
##7BA1151.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A59427
Tritanopia (blue-blind)
#819989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba115;
/* rgb */ color: rgb(123, 161, 21);
/* oklch */ color: oklch(65.7% 0.159 125.1);
Tailwind
colors: {
  custom: {
    50: '#a5bd63',
    500: '#7ba115',
    950: '#000000',
  },
}
SCSS
$custom: #7ba115;
$custom-light: #a5bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba115",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 21
  },
  "hsl": {
    "h": 76.286,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.15938,
    "h": 125.1
  },
  "luminance": 0.29755
}

Semantic roles & 50–950 ramp

primary
#7BA115
secondary
#6C49C8
accent
#34F368
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA115

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

Preview Lab → · Contrast checker → · Palette generator →

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