#7AB431#7AB431

#7AB431 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.170 H 130.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7AB431
RGBrgb(122, 180, 49)
HSLhsl(87, 57%, 45%)
HSVhsv(87, 73%, 71%)
CMYKcmyk(32.2%, 0%, 72.8%, 29.4%)
CIE-LABlab(67.28, -39.02, 57.32)
CIE-LCHlch(67.28, 69.34, 124.24°)
OKLaboklab(70.47% -0.1106 0.1286)
OKLCHoklch(70.47% 0.17 130.7)
XYZxyz(24.9015, 37.0010, 8.7350)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB431 #6B31B4
analogous
#B4AD31 #7AB431 #39B431
triadic
#7AB431 #317AB4 #B4317A
tetradic
#7AB431 #31B4AD #6B31B4 #B43139
square
#7AB431 #31B4AD #6B31B4 #B43139
split-complementary
#7AB431 #3139B4 #AD31B4
monochromatic
#395417 #598424 #7AB431 #98D052 #B5DD82

Accessibility & contrast

On white

2.50
#7AB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7AB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB431
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB431#FFFFFF#000000##000000
##7AB4311.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#7DAC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ab431;
/* rgb */ color: rgb(122, 180, 49);
/* oklch */ color: oklch(70.5% 0.170 130.7);
Tailwind
colors: {
  custom: {
    50: '#a5cb72',
    500: '#7ab431',
    950: '#000000',
  },
}
SCSS
$custom: #7ab431;
$custom-light: #a5cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab431",
  "rgb": {
    "r": 122,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 86.565,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.16959,
    "h": 130.7
  },
  "luminance": 0.37002
}

Semantic roles & 50–950 ramp

primary
#7AB431
secondary
#9C7BC6
accent
#47E08B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB431

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

Preview Lab → · Contrast checker → · Palette generator →

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