#7AB42F#7AB42F

#7AB42F is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.171 H 130.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7AB42F
RGBrgb(122, 180, 47)
HSLhsl(86, 59%, 45%)
HSVhsv(86, 74%, 71%)
CMYKcmyk(32.2%, 0%, 73.9%, 29.4%)
CIE-LABlab(67.27, -39.14, 58.02)
CIE-LCHlch(67.27, 69.99, 124.00°)
OKLaboklab(70.46% -0.1111 0.1297)
OKLCHoklch(70.46% 0.171 130.6)
XYZxyz(24.8602, 36.9845, 8.5177)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB42F #692FB4
analogous
#B4AB2F #7AB42F #38B42F
triadic
#7AB42F #2F7AB4 #B42F7A
tetradic
#7AB42F #2FB4AB #692FB4 #B42F38
square
#7AB42F #2FB4AB #692FB4 #B42F38
split-complementary
#7AB42F #2F38B4 #AB2FB4
monochromatic
#385316 #598322 #7AB42F #98D14F #B5DE80

Accessibility & contrast

On white

2.50
#7AB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7AB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB42F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB42F#FFFFFF#000000##000000
##7AB42F1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA714
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#7DAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ab42f;
/* rgb */ color: rgb(122, 180, 47);
/* oklch */ color: oklch(70.5% 0.171 130.6);
Tailwind
colors: {
  custom: {
    50: '#a5cb71',
    500: '#7ab42f',
    950: '#000000',
  },
}
SCSS
$custom: #7ab42f;
$custom-light: #a5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab42f",
  "rgb": {
    "r": 122,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 86.165,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70461,
    "c": 0.17079,
    "h": 130.6
  },
  "luminance": 0.36985
}

Semantic roles & 50–950 ramp

primary
#7AB42F
secondary
#9A78C7
accent
#46E28A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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