#7AB340#7AB340

#7AB340 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.158 H 131.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7AB340
RGBrgb(122, 179, 64)
HSLhsl(90, 47%, 48%)
HSVhsv(90, 64%, 70%)
CMYKcmyk(31.8%, 0%, 64.2%, 29.8%)
CIE-LABlab(67.09, -37.47, 51.19)
CIE-LCHlch(67.09, 63.43, 126.20°)
OKLaboklab(70.36% -0.1052 0.1177)
OKLCHoklch(70.36% 0.158 131.8)
XYZxyz(25.0713, 36.7471, 10.6214)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB340 #7940B3
analogous
#B3B240 #7AB340 #41B340
triadic
#7AB340 #407AB3 #B3407A
tetradic
#7AB340 #40B3B2 #7940B3 #B34041
square
#7AB340 #40B3B2 #7940B3 #B34041
split-complementary
#7AB340 #4041B3 #B240B3
monochromatic
#3D5920 #5B8630 #7AB340 #99C967 #B7D994

Accessibility & contrast

On white

2.52
#7AB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#7AB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB340
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB340#FFFFFF#000000##000000
##7AB3401.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA632
Deuteranopia (green-blind)
#B2A249
Tritanopia (blue-blind)
#7CAC9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ab340;
/* rgb */ color: rgb(122, 179, 64);
/* oklch */ color: oklch(70.4% 0.158 131.8);
Tailwind
colors: {
  custom: {
    50: '#a4ca7a',
    500: '#7ab340',
    950: '#000000',
  },
}
SCSS
$custom: #7ab340;
$custom-light: #a4ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab340",
  "rgb": {
    "r": 122,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 89.739,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.15786,
    "h": 131.8
  },
  "luminance": 0.36748
}

Semantic roles & 50–950 ramp

primary
#7AB340
secondary
#A78AC4
accent
#51D793
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB340

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

Preview Lab → · Contrast checker → · Palette generator →

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