#7AB938#7AB938

#7AB938 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.8% C 0.171 H 132.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7AB938
RGBrgb(122, 185, 56)
HSLhsl(89, 54%, 47%)
HSVhsv(89, 70%, 73%)
CMYKcmyk(34.1%, 0%, 69.7%, 27.5%)
CIE-LABlab(68.84, -40.74, 56.29)
CIE-LCHlch(68.84, 69.48, 125.90°)
OKLaboklab(71.76% -0.1147 0.1274)
OKLCHoklch(71.76% 0.171 132)
XYZxyz(26.0885, 39.1200, 9.9170)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB938 #7738B9
analogous
#B9B738 #7AB938 #3AB938
triadic
#7AB938 #387AB9 #B9387A
tetradic
#7AB938 #38B9B7 #7738B9 #B9383A
square
#7AB938 #38B9B7 #7738B9 #B9383A
split-complementary
#7AB938 #383AB9 #B738B9
monochromatic
#3C5B1C #5B8A2A #7AB938 #98CF5F #B7DD8E

Accessibility & contrast

On white

2.38
#7AB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#7AB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB938
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB938#FFFFFF#000000##000000
##7AB9381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#7CB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ab938;
/* rgb */ color: rgb(122, 185, 56);
/* oklch */ color: oklch(71.8% 0.171 132.0);
Tailwind
colors: {
  custom: {
    50: '#a5ce76',
    500: '#7ab938',
    950: '#000000',
  },
}
SCSS
$custom: #7ab938;
$custom-light: #a5ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab938",
  "rgb": {
    "r": 122,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 89.302,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71761,
    "c": 0.17146,
    "h": 132
  },
  "luminance": 0.39121
}

Semantic roles & 50–950 ramp

primary
#7AB938
secondary
#A685C8
accent
#4BDD92
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB938

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

Preview Lab → · Contrast checker → · Palette generator →

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