#7AB12F#7AB12F

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

Color values

HEX#7AB12F
RGBrgb(122, 177, 47)
HSLhsl(85, 58%, 44%)
HSVhsv(85, 73%, 69%)
CMYKcmyk(31.1%, 0%, 73.4%, 30.6%)
CIE-LABlab(66.36, -37.81, 57.13)
CIE-LCHlch(66.36, 68.51, 123.50°)
OKLaboklab(69.72% -0.1075 0.1279)
OKLCHoklch(69.72% 0.167 130.1)
XYZxyz(24.2611, 35.7863, 8.3180)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB12F #662FB1
analogous
#B1A72F #7AB12F #39B12F
triadic
#7AB12F #2F7AB1 #B12F7A
tetradic
#7AB12F #2FB1A7 #662FB1 #B12F39
square
#7AB12F #2FB1A7 #662FB1 #B12F39
split-complementary
#7AB12F #2F39B1 #A72FB1
monochromatic
#375015 #598122 #7AB12F #99D04D #B5DD7E

Accessibility & contrast

On white

2.57
#7AB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7AB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB12F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB12F#FFFFFF#000000##000000
##7AB12F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ab12f;
/* rgb */ color: rgb(122, 177, 47);
/* oklch */ color: oklch(69.7% 0.167 130.1);
Tailwind
colors: {
  custom: {
    50: '#a5c870',
    500: '#7ab12f',
    950: '#000000',
  },
}
SCSS
$custom: #7ab12f;
$custom-light: #a5c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab12f",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 85.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6972,
    "c": 0.16703,
    "h": 130.1
  },
  "luminance": 0.35787
}

Semantic roles & 50–950 ramp

primary
#7AB12F
secondary
#9876C5
accent
#47E188
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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