#7ABA31#7ABA31

#7ABA31 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.0% C 0.177 H 131.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7ABA31
RGBrgb(122, 186, 49)
HSLhsl(88, 58%, 46%)
HSVhsv(88, 74%, 73%)
CMYKcmyk(34.4%, 0%, 73.7%, 27.1%)
CIE-LABlab(69.09, -41.63, 59.12)
CIE-LCHlch(69.09, 72.31, 125.15°)
OKLaboklab(71.96% -0.1177 0.1323)
OKLCHoklch(71.96% 0.177 131.7)
XYZxyz(26.1391, 39.4761, 9.1476)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ABA31 #7131BA
analogous
#BAB531 #7ABA31 #35BA31
triadic
#7ABA31 #317ABA #BA317A
tetradic
#7ABA31 #31BAB5 #7131BA #BA3135
square
#7ABA31 #31BAB5 #7131BA #BA3135
split-complementary
#7ABA31 #3135BA #B531BA
monochromatic
#3A5917 #5A8A24 #7ABA31 #98D256 #B6DF86

Accessibility & contrast

On white

2.36
#7ABA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#7ABA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ABA31
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ABA31#FFFFFF#000000##000000
##7ABA311.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#7CB2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7aba31;
/* rgb */ color: rgb(122, 186, 49);
/* oklch */ color: oklch(72.0% 0.177 131.7);
Tailwind
colors: {
  custom: {
    50: '#a5cf73',
    500: '#7aba31',
    950: '#000000',
  },
}
SCSS
$custom: #7aba31;
$custom-light: #a5cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#7aba31",
  "rgb": {
    "r": 122,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 88.029,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71956,
    "c": 0.1771,
    "h": 131.7
  },
  "luminance": 0.39477
}

Semantic roles & 50–950 ramp

primary
#7ABA31
secondary
#A17EC9
accent
#46E28F
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7ABA31

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

Preview Lab → · Contrast checker → · Palette generator →

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