#7BA81F#7BA81F

#7BA81F is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.164 H 127.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7BA81F
RGBrgb(123, 168, 31)
HSLhsl(80, 69%, 39%)
HSVhsv(80, 82%, 66%)
CMYKcmyk(26.8%, 0%, 81.5%, 34.1%)
CIE-LABlab(63.60, -34.18, 59.68)
CIE-LCHlch(63.60, 68.77, 119.80°)
OKLaboklab(67.47% -0.0988 0.1306)
OKLCHoklch(67.47% 0.164 127.1)
XYZxyz(22.4184, 32.3147, 6.3523)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA81F #4C1FA8
analogous
#A8911F #7BA81F #37A81F
triadic
#7BA81F #1F7BA8 #A81F7B
tetradic
#7BA81F #1FA891 #4C1FA8 #A81F37
square
#7BA81F #1FA891 #4C1FA8 #A81F37
split-complementary
#7BA81F #1F37A8 #911FA8
monochromatic
#2F410C #557415 #7BA81F #A0D82C #B7E260

Accessibility & contrast

On white

2.81
#7BA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7BA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA81F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA81F#FFFFFF#000000##000000
##7BA81F1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#80A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba81f;
/* rgb */ color: rgb(123, 168, 31);
/* oklch */ color: oklch(67.5% 0.164 127.1);
Tailwind
colors: {
  custom: {
    50: '#a5c268',
    500: '#7ba81f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba81f;
$custom-light: #a5c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba81f",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 79.708,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.16383,
    "h": 127.1
  },
  "luminance": 0.32315
}

Semantic roles & 50–950 ramp

primary
#7BA81F
secondary
#7F5DC6
accent
#3CEC76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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