#7AB225#7AB225

#7AB225 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 69.9% C 0.174 H 129.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7AB225
RGBrgb(122, 178, 37)
HSLhsl(84, 66%, 42%)
HSVhsv(84, 79%, 70%)
CMYKcmyk(31.5%, 0%, 79.2%, 30.2%)
CIE-LABlab(66.60, -38.80, 60.65)
CIE-LCHlch(66.60, 72.00, 122.61°)
OKLaboklab(69.91% -0.1109 0.1337)
OKLCHoklch(69.91% 0.174 129.7)
XYZxyz(24.2803, 36.1112, 7.4408)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB225 #5D25B2
analogous
#B2A425 #7AB225 #34B225
triadic
#7AB225 #257AB2 #B2257A
tetradic
#7AB225 #25B2A4 #5D25B2 #B22534
square
#7AB225 #25B2A4 #5D25B2 #B22534
split-complementary
#7AB225 #2534B2 #A425B2
monochromatic
#354D10 #577F1A #7AB225 #9AD73D #B4E170

Accessibility & contrast

On white

2.55
#7AB225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7AB225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB225
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB225#FFFFFF#000000##000000
##7AB2251.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#7EAA98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab225;
/* rgb */ color: rgb(122, 178, 37);
/* oklch */ color: oklch(69.9% 0.174 129.7);
Tailwind
colors: {
  custom: {
    50: '#a5c96c',
    500: '#7ab225',
    950: '#000000',
  },
}
SCSS
$custom: #7ab225;
$custom-light: #a5c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab225",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 83.83,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69905,
    "c": 0.17369,
    "h": 129.7
  },
  "luminance": 0.36112
}

Semantic roles & 50–950 ramp

primary
#7AB225
secondary
#906BC8
accent
#3FE982
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7AB225

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

Preview Lab → · Contrast checker → · Palette generator →

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