#7AB931#7AB931

#7AB931 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.7% C 0.176 H 131.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7AB931
RGBrgb(122, 185, 49)
HSLhsl(88, 58%, 46%)
HSVhsv(88, 74%, 73%)
CMYKcmyk(34.1%, 0%, 73.5%, 27.5%)
CIE-LABlab(68.79, -41.20, 58.82)
CIE-LCHlch(68.79, 71.82, 125.01°)
OKLaboklab(71.71% -0.1165 0.1317)
OKLCHoklch(71.71% 0.176 131.5)
XYZxyz(25.9291, 39.0563, 9.0776)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB931 #7031B9
analogous
#B9B431 #7AB931 #36B931
triadic
#7AB931 #317AB9 #B9317A
tetradic
#7AB931 #31B9B4 #7031B9 #B93136
square
#7AB931 #31B9B4 #7031B9 #B93136
split-complementary
#7AB931 #3136B9 #B431B9
monochromatic
#3A5817 #5A8924 #7AB931 #98D255 #B5DF86

Accessibility & contrast

On white

2.38
#7AB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#7AB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB931
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB931#FFFFFF#000000##000000
##7AB9311.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#7CB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ab931;
/* rgb */ color: rgb(122, 185, 49);
/* oklch */ color: oklch(71.7% 0.176 131.5);
Tailwind
colors: {
  custom: {
    50: '#a5ce72',
    500: '#7ab931',
    950: '#000000',
  },
}
SCSS
$custom: #7ab931;
$custom-light: #a5ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab931",
  "rgb": {
    "r": 122,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 87.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71709,
    "c": 0.17586,
    "h": 131.5
  },
  "luminance": 0.39057
}

Semantic roles & 50–950 ramp

primary
#7AB931
secondary
#A07DC8
accent
#46E18E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB931

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

Preview Lab → · Contrast checker → · Palette generator →

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