#7BA11F#7BA11F

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

Color values

HEX#7BA11F
RGBrgb(123, 161, 31)
HSLhsl(78, 68%, 38%)
HSVhsv(78, 81%, 63%)
CMYKcmyk(23.6%, 0%, 80.7%, 36.9%)
CIE-LABlab(61.48, -30.93, 57.76)
CIE-LCHlch(61.48, 65.52, 118.17°)
OKLaboklab(65.75% -0.09 0.1266)
OKLCHoklch(65.75% 0.155 125.4)
XYZxyz(21.1608, 29.7993, 5.9331)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA11F #451FA1
analogous
#A1861F #7BA11F #3AA11F
triadic
#7BA11F #1F7BA1 #A11F7B
tetradic
#7BA11F #1FA186 #451FA1 #A11F3A
square
#7BA11F #1FA186 #451FA1 #A11F3A
split-complementary
#7BA11F #1F3AA1 #861FA1
monochromatic
#2D3A0B #546E15 #7BA11F #A2D429 #B9DF5B

Accessibility & contrast

On white

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

On black

6.96
#7BA11F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA11F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA11F#FFFFFF#000000##000000
##7BA11F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba11f;
/* rgb */ color: rgb(123, 161, 31);
/* oklch */ color: oklch(65.7% 0.155 125.4);
Tailwind
colors: {
  custom: {
    50: '#a5bd67',
    500: '#7ba11f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba11f;
$custom-light: #a5bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba11f",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 77.538,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.15534,
    "h": 125.4
  },
  "luminance": 0.298
}

Semantic roles & 50–950 ramp

primary
#7BA11F
secondary
#7858C4
accent
#3DEB70
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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