#7BA131#7BA131

#7BA131 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.145 H 126.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7BA131
RGBrgb(123, 161, 49)
HSLhsl(80, 53%, 41%)
HSVhsv(80, 70%, 63%)
CMYKcmyk(23.6%, 0%, 69.6%, 36.9%)
CIE-LABlab(61.59, -29.93, 51.61)
CIE-LCHlch(61.59, 59.66, 120.11°)
OKLaboklab(65.87% -0.0858 0.1166)
OKLCHoklch(65.87% 0.145 126.4)
XYZxyz(21.4677, 29.9221, 7.5497)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA131 #5731A1
analogous
#A18F31 #7BA131 #43A131
triadic
#7BA131 #317BA1 #A1317B
tetradic
#7BA131 #31A18F #5731A1 #A13143
square
#7BA131 #31A18F #5731A1 #A13143
split-complementary
#7BA131 #3143A1 #8F31A1
monochromatic
#334314 #577223 #7BA131 #9CC748 #B5D677

Accessibility & contrast

On white

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

On black

6.98
#7BA131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA131
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA131#FFFFFF#000000##000000
##7BA1311.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99620
Deuteranopia (green-blind)
#A4943A
Tritanopia (blue-blind)
#80998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba131;
/* rgb */ color: rgb(123, 161, 49);
/* oklch */ color: oklch(65.9% 0.145 126.4);
Tailwind
colors: {
  custom: {
    50: '#a4bd70',
    500: '#7ba131',
    950: '#000000',
  },
}
SCSS
$custom: #7ba131;
$custom-light: #a4bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba131",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 80.357,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.14475,
    "h": 126.4
  },
  "luminance": 0.29922
}

Semantic roles & 50–950 ramp

primary
#7BA131
secondary
#8A70BE
accent
#4BDD7C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA131

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

Preview Lab → · Contrast checker → · Palette generator →

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