#7AB331#7AB331

#7AB331 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.2% C 0.168 H 130.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7AB331
RGBrgb(122, 179, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 73%, 70%)
CMYKcmyk(31.8%, 0%, 72.6%, 29.8%)
CIE-LABlab(66.97, -38.58, 57.02)
CIE-LCHlch(66.97, 68.85, 124.08°)
OKLaboklab(70.23% -0.1094 0.1279)
OKLCHoklch(70.23% 0.168 130.5)
XYZxyz(24.7003, 36.5987, 8.6680)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB331 #6A31B3
analogous
#B3AB31 #7AB331 #39B331
triadic
#7AB331 #317AB3 #B3317A
tetradic
#7AB331 #31B3AB #6A31B3 #B33139
square
#7AB331 #31B3AB #6A31B3 #B33139
split-complementary
#7AB331 #3139B3 #AB31B3
monochromatic
#395317 #598324 #7AB331 #98D052 #B5DD82

Accessibility & contrast

On white

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

On black

8.32
#7AB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB331
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB331#FFFFFF#000000##000000
##7AB3311.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#B3A23D
Tritanopia (blue-blind)
#7DAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ab331;
/* rgb */ color: rgb(122, 179, 49);
/* oklch */ color: oklch(70.2% 0.168 130.5);
Tailwind
colors: {
  custom: {
    50: '#a5ca72',
    500: '#7ab331',
    950: '#000000',
  },
}
SCSS
$custom: #7ab331;
$custom-light: #a5ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab331",
  "rgb": {
    "r": 122,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 86.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70228,
    "c": 0.16833,
    "h": 130.5
  },
  "luminance": 0.366
}

Semantic roles & 50–950 ramp

primary
#7AB331
secondary
#9B7AC6
accent
#48E08B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB331

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

Preview Lab → · Contrast checker → · Palette generator →

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