#7AB41F#7AB41F

#7AB41F is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.4% C 0.179 H 129.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7AB41F
RGBrgb(122, 180, 31)
HSLhsl(83, 71%, 41%)
HSVhsv(83, 83%, 71%)
CMYKcmyk(32.2%, 0%, 82.8%, 29.4%)
CIE-LABlab(67.19, -39.94, 62.85)
CIE-LCHlch(67.19, 74.47, 122.43°)
OKLaboklab(70.37% -0.1143 0.1374)
OKLCHoklch(70.37% 0.179 129.8)
XYZxyz(24.5945, 36.8782, 7.1184)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB41F #591FB4
analogous
#B4A41F #7AB41F #2FB41F
triadic
#7AB41F #1F7AB4 #B41F7A
tetradic
#7AB41F #1FB4A4 #591FB4 #B41F2F
square
#7AB41F #1FB4A4 #591FB4 #B41F2F
split-complementary
#7AB41F #1F2FB4 #A41FB4
monochromatic
#334C0D #578016 #7AB41F #9BDC34 #B5E568

Accessibility & contrast

On white

2.51
#7AB41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7AB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB41F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB41F#FFFFFF#000000##000000
##7AB41F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#7EAC99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ab41f;
/* rgb */ color: rgb(122, 180, 31);
/* oklch */ color: oklch(70.4% 0.179 129.8);
Tailwind
colors: {
  custom: {
    50: '#a6cb6a',
    500: '#7ab41f',
    950: '#000000',
  },
}
SCSS
$custom: #7ab41f;
$custom-light: #a6cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab41f",
  "rgb": {
    "r": 122,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 83.356,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7037,
    "c": 0.17876,
    "h": 129.8
  },
  "luminance": 0.36879
}

Semantic roles & 50–950 ramp

primary
#7AB41F
secondary
#8C64CB
accent
#3AED80
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7AB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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