#7BA951#7BA951

#7BA951 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.2% C 0.128 H 131.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7BA951
RGBrgb(123, 169, 81)
HSLhsl(91, 35%, 49%)
HSVhsv(91, 52%, 66%)
CMYKcmyk(27.2%, 0%, 52.1%, 33.7%)
CIE-LABlab(64.31, -30.82, 40.15)
CIE-LCHlch(64.31, 50.62, 127.51°)
OKLaboklab(68.17% -0.0855 0.0957)
OKLCHoklch(68.17% 0.128 131.8)
XYZxyz(23.8412, 33.1803, 12.9313)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA951 #7F51A9
analogous
#A7A951 #7BA951 #51A953
triadic
#7BA951 #517BA9 #A9517B
tetradic
#7BA951 #51A7A9 #7F51A9 #A95351
square
#7BA951 #51A7A9 #7F51A9 #A95351
split-complementary
#7BA951 #5351A9 #A951A7
monochromatic
#3F5629 #5D803D #7BA951 #9ABF79 #B9D2A2

Accessibility & contrast

On white

2.75
#7BA951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7BA951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA951
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA951#FFFFFF#000000##000000
##7BA9511.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E49
Deuteranopia (green-blind)
#A99B57
Tritanopia (blue-blind)
#7DA395
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ba951;
/* rgb */ color: rgb(123, 169, 81);
/* oklch */ color: oklch(68.2% 0.128 131.8);
Tailwind
colors: {
  custom: {
    50: '#a3c384',
    500: '#7ba951',
    950: '#000000',
  },
}
SCSS
$custom: #7ba951;
$custom-light: #a3c384;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba951",
  "rgb": {
    "r": 123,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 91.364,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6817,
    "c": 0.12835,
    "h": 131.8
  },
  "luminance": 0.33181
}

Semantic roles & 50–950 ramp

primary
#7BA951
secondary
#AC96C0
accent
#5DCB96
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7BA951

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

Preview Lab → · Contrast checker → · Palette generator →

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