#7AB031#7AB031

#7AB031 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.5% C 0.165 H 130.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7AB031
RGBrgb(122, 176, 49)
HSLhsl(86, 56%, 44%)
HSVhsv(86, 72%, 69%)
CMYKcmyk(30.7%, 0%, 72.2%, 31%)
CIE-LABlab(66.07, -37.24, 56.12)
CIE-LCHlch(66.07, 67.35, 123.57°)
OKLaboklab(69.49% -0.1058 0.126)
OKLCHoklch(69.49% 0.165 130)
XYZxyz(24.1056, 35.4093, 8.4697)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB031 #6731B0
analogous
#B0A731 #7AB031 #3BB031
triadic
#7AB031 #317AB0 #B0317A
tetradic
#7AB031 #31B0A7 #6731B0 #B0313B
square
#7AB031 #31B0A7 #6731B0 #B0313B
split-complementary
#7AB031 #313BB0 #A731B0
monochromatic
#385016 #598024 #7AB031 #99CE50 #B5DC80

Accessibility & contrast

On white

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

On black

8.08
#7AB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB031
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB031#FFFFFF#000000##000000
##7AB0311.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#7DA897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab031;
/* rgb */ color: rgb(122, 176, 49);
/* oklch */ color: oklch(69.5% 0.165 130.0);
Tailwind
colors: {
  custom: {
    50: '#a5c871',
    500: '#7ab031',
    950: '#000000',
  },
}
SCSS
$custom: #7ab031;
$custom-light: #a5c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab031",
  "rgb": {
    "r": 122,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 85.512,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69488,
    "c": 0.16454,
    "h": 130
  },
  "luminance": 0.3541
}

Semantic roles & 50–950 ramp

primary
#7AB031
secondary
#9978C5
accent
#48E089
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB031

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

Preview Lab → · Contrast checker → · Palette generator →

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