#7BA71E#7BA71E

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

Color values

HEX#7BA71E
RGBrgb(123, 167, 30)
HSLhsl(79, 70%, 39%)
HSVhsv(79, 82%, 65%)
CMYKcmyk(26.3%, 0%, 82%, 34.5%)
CIE-LABlab(63.29, -33.77, 59.68)
CIE-LCHlch(63.29, 68.57, 119.50°)
OKLaboklab(67.22% -0.0978 0.1305)
OKLCHoklch(67.22% 0.163 126.8)
XYZxyz(22.2216, 31.9417, 6.2227)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA71E #4A1EA7
analogous
#A78E1E #7BA71E #36A71E
triadic
#7BA71E #1E7BA7 #A71E7B
tetradic
#7BA71E #1EA78E #4A1EA7 #A71E36
square
#7BA71E #1EA78E #4A1EA7 #A71E36
split-complementary
#7BA71E #1E36A7 #8E1EA7
monochromatic
#2F3F0B #557315 #7BA71E #A0D92A #B7E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA71E#FFFFFF#000000##000000
##7BA71E1.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: #7ba71e;
/* rgb */ color: rgb(123, 167, 30);
/* oklch */ color: oklch(67.2% 0.163 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5c168',
    500: '#7ba71e',
    950: '#000000',
  },
}
SCSS
$custom: #7ba71e;
$custom-light: #a5c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba71e",
  "rgb": {
    "r": 123,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 79.27,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67218,
    "c": 0.16306,
    "h": 126.8
  },
  "luminance": 0.31942
}

Semantic roles & 50–950 ramp

primary
#7BA71E
secondary
#7D5BC6
accent
#3BEC74
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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