#7AB02B#7AB02B

#7AB02B is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.4% C 0.168 H 129.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7AB02B
RGBrgb(122, 176, 43)
HSLhsl(84, 61%, 43%)
HSVhsv(84, 76%, 69%)
CMYKcmyk(30.7%, 0%, 75.6%, 31%)
CIE-LABlab(66.03, -37.60, 58.20)
CIE-LCHlch(66.03, 69.29, 122.86°)
OKLaboklab(69.45% -0.1072 0.1295)
OKLCHoklch(69.45% 0.168 129.6)
XYZxyz(23.9873, 35.3619, 7.8467)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB02B #612BB0
analogous
#B0A32B #7AB02B #37B02B
triadic
#7AB02B #2B7AB0 #B02B7A
tetradic
#7AB02B #2BB0A3 #612BB0 #B02B37
square
#7AB02B #2BB0A3 #612BB0 #B02B37
split-complementary
#7AB02B #2B37B0 #A32BB0
monochromatic
#364E13 #587F1F #7AB02B #99D246 #B4DE78

Accessibility & contrast

On white

2.60
#7AB02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#7AB02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB02B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB02B#FFFFFF#000000##000000
##7AB02B1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30C
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#7DA897
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7ab02b;
/* rgb */ color: rgb(122, 176, 43);
/* oklch */ color: oklch(69.4% 0.168 129.6);
Tailwind
colors: {
  custom: {
    50: '#a5c86e',
    500: '#7ab02b',
    950: '#000000',
  },
}
SCSS
$custom: #7ab02b;
$custom-light: #a5c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab02b",
  "rgb": {
    "r": 122,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 84.361,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69447,
    "c": 0.1681,
    "h": 129.6
  },
  "luminance": 0.35363
}

Semantic roles & 50–950 ramp

primary
#7AB02B
secondary
#9371C6
accent
#44E485
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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