#7AB12B#7AB12B

#7AB12B is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.7% C 0.169 H 129.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7AB12B
RGBrgb(122, 177, 43)
HSLhsl(85, 61%, 43%)
HSVhsv(85, 76%, 69%)
CMYKcmyk(31.1%, 0%, 75.7%, 30.6%)
CIE-LABlab(66.33, -38.05, 58.49)
CIE-LCHlch(66.33, 69.78, 123.04°)
OKLaboklab(69.69% -0.1084 0.1301)
OKLCHoklch(69.69% 0.169 129.8)
XYZxyz(24.1841, 35.7555, 7.9123)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB12B #622BB1
analogous
#B1A52B #7AB12B #37B12B
triadic
#7AB12B #2B7AB1 #B12B7A
tetradic
#7AB12B #2BB1A5 #622BB1 #B12B37
square
#7AB12B #2BB1A5 #622BB1 #B12B37
split-complementary
#7AB12B #2B37B1 #A52BB1
monochromatic
#364F13 #58801F #7AB12B #99D247 #B4DE78

Accessibility & contrast

On white

2.58
#7AB12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7AB12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB12B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB12B#FFFFFF#000000##000000
##7AB12B1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#7DA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab12b;
/* rgb */ color: rgb(122, 177, 43);
/* oklch */ color: oklch(69.7% 0.169 129.8);
Tailwind
colors: {
  custom: {
    50: '#a5c86f',
    500: '#7ab12b',
    950: '#000000',
  },
}
SCSS
$custom: #7ab12b;
$custom-light: #a5c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab12b",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 43
  },
  "hsl": {
    "h": 84.627,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69694,
    "c": 0.16935,
    "h": 129.8
  },
  "luminance": 0.35756
}

Semantic roles & 50–950 ramp

primary
#7AB12B
secondary
#9472C6
accent
#44E486
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB12B

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

Preview Lab → · Contrast checker → · Palette generator →

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