#7AB338#7AB338

#7AB338 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.3% C 0.164 H 131.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7AB338
RGBrgb(122, 179, 56)
HSLhsl(88, 52%, 46%)
HSVhsv(88, 69%, 70%)
CMYKcmyk(31.8%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.02, -38.10, 54.41)
CIE-LCHlch(67.02, 66.43, 125.00°)
OKLaboklab(70.28% -0.1075 0.1235)
OKLCHoklch(70.28% 0.164 131.1)
XYZxyz(24.8597, 36.6625, 9.5074)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB338 #7138B3
analogous
#B3AE38 #7AB338 #3CB338
triadic
#7AB338 #387AB3 #B3387A
tetradic
#7AB338 #38B3AE #7138B3 #B3383C
square
#7AB338 #38B3AE #7138B3 #B3383C
split-complementary
#7AB338 #383CB3 #AE38B3
monochromatic
#3A561B #5A8429 #7AB338 #98CC5C #B6DB8B

Accessibility & contrast

On white

2.52
#7AB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7AB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB338
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB338#FFFFFF#000000##000000
##7AB3381.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B3A243
Tritanopia (blue-blind)
#7CAC9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ab338;
/* rgb */ color: rgb(122, 179, 56);
/* oklch */ color: oklch(70.3% 0.164 131.1);
Tailwind
colors: {
  custom: {
    50: '#a4ca75',
    500: '#7ab338',
    950: '#000000',
  },
}
SCSS
$custom: #7ab338;
$custom-light: #a4ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab338",
  "rgb": {
    "r": 122,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 87.805,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70283,
    "c": 0.16374,
    "h": 131.1
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

primary
#7AB338
secondary
#A182C5
accent
#4CDC8F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB338

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

Preview Lab → · Contrast checker → · Palette generator →

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