#7AB31E#7AB31E

#7AB31E is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.1% C 0.178 H 129.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7AB31E
RGBrgb(122, 179, 30)
HSLhsl(83, 71%, 41%)
HSVhsv(83, 83%, 70%)
CMYKcmyk(31.8%, 0%, 83.2%, 29.8%)
CIE-LABlab(66.88, -39.54, 62.84)
CIE-LCHlch(66.88, 74.24, 122.18°)
OKLaboklab(70.12% -0.1133 0.1372)
OKLCHoklch(70.12% 0.178 129.6)
XYZxyz(24.3804, 36.4707, 6.9831)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB31E #571EB3
analogous
#B3A11E #7AB31E #2FB31E
triadic
#7AB31E #1E7AB3 #B31E7A
tetradic
#7AB31E #1EB3A1 #571EB3 #B31E2F
square
#7AB31E #1EB3A1 #571EB3 #B31E2F
split-complementary
#7AB31E #1E2FB3 #A11EB3
monochromatic
#334A0C #567F15 #7AB31E #9BDD32 #B5E566

Accessibility & contrast

On white

2.53
#7AB31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#7AB31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB31E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB31E#FFFFFF#000000##000000
##7AB31E1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#7EAB99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ab31e;
/* rgb */ color: rgb(122, 179, 30);
/* oklch */ color: oklch(70.1% 0.178 129.6);
Tailwind
colors: {
  custom: {
    50: '#a6ca69',
    500: '#7ab31e',
    950: '#000000',
  },
}
SCSS
$custom: #7ab31e;
$custom-light: #a6ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab31e",
  "rgb": {
    "r": 122,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 82.953,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70118,
    "c": 0.17796,
    "h": 129.6
  },
  "luminance": 0.36472
}

Semantic roles & 50–950 ramp

primary
#7AB31E
secondary
#8A62CB
accent
#3AEE7F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7AB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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