#7AB41C#7AB41C

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

Color values

HEX#7AB41C
RGBrgb(122, 180, 28)
HSLhsl(83, 73%, 41%)
HSVhsv(83, 84%, 71%)
CMYKcmyk(32.2%, 0%, 84.4%, 29.4%)
CIE-LABlab(67.17, -40.05, 63.59)
CIE-LCHlch(67.17, 75.15, 122.21°)
OKLaboklab(70.36% -0.1148 0.1385)
OKLCHoklch(70.36% 0.18 129.7)
XYZxyz(24.5568, 36.8631, 6.9198)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB41C #561CB4
analogous
#B4A21C #7AB41C #2EB41C
triadic
#7AB41C #1C7AB4 #B41C7A
tetradic
#7AB41C #1CB4A2 #561CB4 #B41C2E
square
#7AB41C #1CB4A2 #561CB4 #B41C2E
split-complementary
#7AB41C #1C2EB4 #A21CB4
monochromatic
#324A0C #567F14 #7AB41C #9BDF2F #B5E764

Accessibility & contrast

On white

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

On black

8.37
#7AB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB41C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB41C#FFFFFF#000000##000000
##7AB41C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ab41c;
/* rgb */ color: rgb(122, 180, 28);
/* oklch */ color: oklch(70.4% 0.180 129.7);
Tailwind
colors: {
  custom: {
    50: '#a6cb69',
    500: '#7ab41c',
    950: '#000000',
  },
}
SCSS
$custom: #7ab41c;
$custom-light: #a6cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab41c",
  "rgb": {
    "r": 122,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 82.895,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70357,
    "c": 0.17992,
    "h": 129.7
  },
  "luminance": 0.36864
}

Semantic roles & 50–950 ramp

primary
#7AB41C
secondary
#8960CC
accent
#38F07E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7AB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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