#7AB238#7AB238

#7AB238 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.0% C 0.162 H 130.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7AB238
RGBrgb(122, 178, 56)
HSLhsl(88, 52%, 46%)
HSVhsv(88, 69%, 70%)
CMYKcmyk(31.5%, 0%, 68.5%, 30.2%)
CIE-LABlab(66.72, -37.65, 54.10)
CIE-LCHlch(66.72, 65.91, 124.84°)
OKLaboklab(70.04% -0.1063 0.1228)
OKLCHoklch(70.04% 0.162 130.9)
XYZxyz(24.6600, 36.2631, 9.4408)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB238 #7038B2
analogous
#B2AD38 #7AB238 #3DB238
triadic
#7AB238 #387AB2 #B2387A
tetradic
#7AB238 #38B2AD #7038B2 #B2383D
square
#7AB238 #38B2AD #7038B2 #B2383D
split-complementary
#7AB238 #383DB2 #AD38B2
monochromatic
#3A551B #5A8329 #7AB238 #98CC5C #B5DA8A

Accessibility & contrast

On white

2.54
#7AB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#7AB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB238
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB238#FFFFFF#000000##000000
##7AB2381.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#7CAB99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab238;
/* rgb */ color: rgb(122, 178, 56);
/* oklch */ color: oklch(70.0% 0.162 130.9);
Tailwind
colors: {
  custom: {
    50: '#a4c975',
    500: '#7ab238',
    950: '#000000',
  },
}
SCSS
$custom: #7ab238;
$custom-light: #a4c975;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab238",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 87.541,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70036,
    "c": 0.16245,
    "h": 130.9
  },
  "luminance": 0.36264
}

Semantic roles & 50–950 ramp

primary
#7AB238
secondary
#A081C5
accent
#4CDC8E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB238

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

Preview Lab → · Contrast checker → · Palette generator →

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