#7BA71F#7BA71F

#7BA71F is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.2% C 0.163 H 126.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7BA71F
RGBrgb(123, 167, 31)
HSLhsl(79, 69%, 39%)
HSVhsv(79, 81%, 65%)
CMYKcmyk(26.3%, 0%, 81.4%, 34.5%)
CIE-LABlab(63.30, -33.72, 59.40)
CIE-LCHlch(63.30, 68.31, 119.58°)
OKLaboklab(67.22% -0.0976 0.1301)
OKLCHoklch(67.22% 0.163 126.9)
XYZxyz(22.2345, 31.9469, 6.2910)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA71F #4B1FA7
analogous
#A78F1F #7BA71F #37A71F
triadic
#7BA71F #1F7BA7 #A71F7B
tetradic
#7BA71F #1FA78F #4B1FA7 #A71F37
square
#7BA71F #1FA78F #4B1FA7 #A71F37
split-complementary
#7BA71F #1F37A7 #8F1FA7
monochromatic
#2F400C #557315 #7BA71F #A0D82B #B7E15F

Accessibility & contrast

On white

2.84
#7BA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7BA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA71F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA71F#FFFFFF#000000##000000
##7BA71F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#809F8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ba71f;
/* rgb */ color: rgb(123, 167, 31);
/* oklch */ color: oklch(67.2% 0.163 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5c168',
    500: '#7ba71f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba71f;
$custom-light: #a5c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba71f",
  "rgb": {
    "r": 123,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 79.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.16262,
    "h": 126.9
  },
  "luminance": 0.31947
}

Semantic roles & 50–950 ramp

primary
#7BA71F
secondary
#7E5CC6
accent
#3CEC75
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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