#7AB131#7AB131

#7AB131 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.7% C 0.166 H 130.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7AB131
RGBrgb(122, 177, 49)
HSLhsl(86, 57%, 44%)
HSVhsv(86, 72%, 69%)
CMYKcmyk(31.1%, 0%, 72.3%, 30.6%)
CIE-LABlab(66.37, -37.69, 56.42)
CIE-LCHlch(66.37, 67.85, 123.74°)
OKLaboklab(69.74% -0.107 0.1267)
OKLCHoklch(69.74% 0.166 130.2)
XYZxyz(24.3024, 35.8028, 8.5353)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB131 #6831B1
analogous
#B1A831 #7AB131 #3AB131
triadic
#7AB131 #317AB1 #B1317A
tetradic
#7AB131 #31B1A8 #6831B1 #B1313A
square
#7AB131 #31B1A8 #6831B1 #B1313A
split-complementary
#7AB131 #313AB1 #A831B1
monochromatic
#385116 #598124 #7AB131 #98CF51 #B5DC80

Accessibility & contrast

On white

2.57
#7AB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7AB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB131
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB131#FFFFFF#000000##000000
##7AB1311.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#7DA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab131;
/* rgb */ color: rgb(122, 177, 49);
/* oklch */ color: oklch(69.7% 0.166 130.2);
Tailwind
colors: {
  custom: {
    50: '#a5c871',
    500: '#7ab131',
    950: '#000000',
  },
}
SCSS
$custom: #7ab131;
$custom-light: #a5c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab131",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 85.781,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.1658,
    "h": 130.2
  },
  "luminance": 0.35804
}

Semantic roles & 50–950 ramp

primary
#7AB131
secondary
#9A79C5
accent
#48E089
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB131

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

Preview Lab → · Contrast checker → · Palette generator →

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