#7AB538#7AB538

#7AB538 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.8% C 0.166 H 131.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7AB538
RGBrgb(122, 181, 56)
HSLhsl(88, 53%, 46%)
HSVhsv(88, 69%, 71%)
CMYKcmyk(32.6%, 0%, 69.1%, 29%)
CIE-LABlab(67.63, -38.99, 55.04)
CIE-LCHlch(67.63, 67.45, 125.31°)
OKLaboklab(70.78% -0.11 0.1248)
OKLCHoklch(70.78% 0.166 131.4)
XYZxyz(25.2635, 37.4700, 9.6420)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB538 #7338B5
analogous
#B5B238 #7AB538 #3CB538
triadic
#7AB538 #387AB5 #B5387A
tetradic
#7AB538 #38B5B2 #7338B5 #B5383C
square
#7AB538 #38B5B2 #7338B5 #B5383C
split-complementary
#7AB538 #383CB5 #B238B5
monochromatic
#3B581B #5A862A #7AB538 #98CD5D #B6DB8C

Accessibility & contrast

On white

2.47
#7AB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#7AB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB538
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB538#FFFFFF#000000##000000
##7AB5381.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ab538;
/* rgb */ color: rgb(122, 181, 56);
/* oklch */ color: oklch(70.8% 0.166 131.4);
Tailwind
colors: {
  custom: {
    50: '#a5cb76',
    500: '#7ab538',
    950: '#000000',
  },
}
SCSS
$custom: #7ab538;
$custom-light: #a5cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab538",
  "rgb": {
    "r": 122,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 88.32,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70775,
    "c": 0.16632,
    "h": 131.4
  },
  "luminance": 0.37471
}

Semantic roles & 50–950 ramp

primary
#7AB538
secondary
#A383C6
accent
#4CDC90
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB538

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

Preview Lab → · Contrast checker → · Palette generator →

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