#7AB12D#7AB12D

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

Color values

HEX#7AB12D
RGBrgb(122, 177, 45)
HSLhsl(85, 59%, 44%)
HSVhsv(85, 75%, 69%)
CMYKcmyk(31.1%, 0%, 74.6%, 30.6%)
CIE-LABlab(66.34, -37.93, 57.82)
CIE-LCHlch(66.34, 69.15, 123.27°)
OKLaboklab(69.71% -0.108 0.129)
OKLCHoklch(69.71% 0.168 129.9)
XYZxyz(24.2217, 35.7706, 8.1103)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB12D #642DB1
analogous
#B1A62D #7AB12D #38B12D
triadic
#7AB12D #2D7AB1 #B12D7A
tetradic
#7AB12D #2DB1A6 #642DB1 #B12D38
square
#7AB12D #2DB1A6 #642DB1 #B12D38
split-complementary
#7AB12D #2D38B1 #A62DB1
monochromatic
#374F14 #588021 #7AB12D #99D14A #B4DD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AB12D#FFFFFF#000000##000000
##7AB12D1.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)
#B9A411
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#7DA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab12d;
/* rgb */ color: rgb(122, 177, 45);
/* oklch */ color: oklch(69.7% 0.168 129.9);
Tailwind
colors: {
  custom: {
    50: '#a5c86f',
    500: '#7ab12d',
    950: '#000000',
  },
}
SCSS
$custom: #7ab12d;
$custom-light: #a5c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab12d",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 85,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69707,
    "c": 0.16822,
    "h": 129.9
  },
  "luminance": 0.35771
}

Semantic roles & 50–950 ramp

primary
#7AB12D
secondary
#9674C6
accent
#45E387
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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