#7AAB31#7AAB31

#7AAB31 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.158 H 129.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7AAB31
RGBrgb(122, 171, 49)
HSLhsl(84, 55%, 43%)
HSVhsv(84, 71%, 67%)
CMYKcmyk(28.7%, 0%, 71.3%, 32.9%)
CIE-LABlab(64.55, -34.98, 54.60)
CIE-LCHlch(64.55, 64.84, 122.65°)
OKLaboklab(68.26% -0.0996 0.1229)
OKLCHoklch(68.26% 0.158 129)
XYZxyz(23.1433, 33.4845, 8.1490)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB31 #6231AB
analogous
#AB9F31 #7AAB31 #3DAB31
triadic
#7AAB31 #317AAB #AB317A
tetradic
#7AAB31 #31AB9F #6231AB #AB313D
square
#7AAB31 #31AB9F #6231AB #AB313D
split-complementary
#7AAB31 #313DAB #9F31AB
monochromatic
#364C16 #587B23 #7AAB31 #99CC4D #B4DA7D

Accessibility & contrast

On white

2.73
#7AAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7AAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAB31
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAB31#FFFFFF#000000##000000
##7AAB311.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1D
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#7EA393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7aab31;
/* rgb */ color: rgb(122, 171, 49);
/* oklch */ color: oklch(68.3% 0.158 129.0);
Tailwind
colors: {
  custom: {
    50: '#a4c471',
    500: '#7aab31',
    950: '#000000',
  },
}
SCSS
$custom: #7aab31;
$custom-light: #a4c471;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab31",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 84.098,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68256,
    "c": 0.15815,
    "h": 129
  },
  "luminance": 0.33485
}

Semantic roles & 50–950 ramp

primary
#7AAB31
secondary
#9475C2
accent
#49DF85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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