#7AB631#7AB631

#7AB631 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.0% C 0.172 H 131.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7AB631
RGBrgb(122, 182, 49)
HSLhsl(87, 58%, 45%)
HSVhsv(87, 73%, 71%)
CMYKcmyk(33%, 0%, 73.1%, 28.6%)
CIE-LABlab(67.88, -39.90, 57.93)
CIE-LCHlch(67.88, 70.34, 124.56°)
OKLaboklab(70.97% -0.113 0.1298)
OKLCHoklch(70.97% 0.172 131)
XYZxyz(25.3082, 37.8143, 8.8706)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB631 #6D31B6
analogous
#B6B031 #7AB631 #37B631
triadic
#7AB631 #317AB6 #B6317A
tetradic
#7AB631 #31B6B0 #6D31B6 #B63137
square
#7AB631 #31B6B0 #6D31B6 #B63137
split-complementary
#7AB631 #3137B6 #B031B6
monochromatic
#395617 #5A8624 #7AB631 #98D153 #B5DE84

Accessibility & contrast

On white

2.45
#7AB631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#7AB631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB631
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB631#FFFFFF#000000##000000
##7AB6311.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#7CAE9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ab631;
/* rgb */ color: rgb(122, 182, 49);
/* oklch */ color: oklch(71.0% 0.172 131.0);
Tailwind
colors: {
  custom: {
    50: '#a5cc72',
    500: '#7ab631',
    950: '#000000',
  },
}
SCSS
$custom: #7ab631;
$custom-light: #a5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab631",
  "rgb": {
    "r": 122,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 87.068,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70968,
    "c": 0.1721,
    "h": 131
  },
  "luminance": 0.37815
}

Semantic roles & 50–950 ramp

primary
#7AB631
secondary
#9E7CC7
accent
#47E18C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB631

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

Preview Lab → · Contrast checker → · Palette generator →

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