#7BA151#7BA151

#7BA151 is a light, moderate yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.117 H 130.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7BA151
RGBrgb(123, 161, 81)
HSLhsl(89, 33%, 47%)
HSVhsv(89, 50%, 63%)
CMYKcmyk(23.6%, 0%, 49.7%, 36.9%)
CIE-LABlab(61.91, -26.97, 37.25)
CIE-LCHlch(61.91, 45.99, 125.91°)
OKLaboklab(66.23% -0.0749 0.0893)
OKLCHoklch(66.23% 0.117 130)
XYZxyz(22.3982, 30.2943, 12.4503)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA151 #7751A1
analogous
#A19F51 #7BA151 #53A151
triadic
#7BA151 #517BA1 #A1517B
tetradic
#7BA151 #51A19F #7751A1 #A15153
square
#7BA151 #51A19F #7751A1 #A15153
split-complementary
#7BA151 #5153A1 #9F51A1
monochromatic
#3D5028 #5C783D #7BA151 #99BA75 #B7CE9E

Accessibility & contrast

On white

2.97
#7BA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7BA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA151
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA151#FFFFFF#000000##000000
##7BA1511.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7974A
Deuteranopia (green-blind)
#A29556
Tritanopia (blue-blind)
#7D9B8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba151;
/* rgb */ color: rgb(123, 161, 81);
/* oklch */ color: oklch(66.2% 0.117 130.0);
Tailwind
colors: {
  custom: {
    50: '#a3bd84',
    500: '#7ba151',
    950: '#000000',
  },
}
SCSS
$custom: #7ba151;
$custom-light: #a3bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba151",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 88.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66229,
    "c": 0.11652,
    "h": 130
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

primary
#7BA151
secondary
#A693BB
accent
#5FC991
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7BA151

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

Preview Lab → · Contrast checker → · Palette generator →

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