#7AA12C#7AA12C

#7AA12C is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.149 H 126.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7AA12C
RGBrgb(122, 161, 44)
HSLhsl(80, 57%, 40%)
HSVhsv(80, 73%, 63%)
CMYKcmyk(24.2%, 0%, 72.7%, 36.9%)
CIE-LABlab(61.49, -30.65, 53.41)
CIE-LCHlch(61.49, 61.58, 119.85°)
OKLaboklab(65.76% -0.0882 0.1196)
OKLCHoklch(65.76% 0.149 126.4)
XYZxyz(21.2256, 29.8088, 7.0178)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA12C #532CA1
analogous
#A18D2C #7AA12C #3FA12C
triadic
#7AA12C #2C7AA1 #A12C7A
tetradic
#7AA12C #2CA18D #532CA1 #A12C3F
square
#7AA12C #2CA18D #532CA1 #A12C3F
split-complementary
#7AA12C #2C3FA1 #8D2CA1
monochromatic
#314112 #56711F #7AA12C #9CCB40 #B5D870

Accessibility & contrast

On white

3.02
#7AA12C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7AA12C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7AA12C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA12C#FFFFFF#000000##000000
##7AA12C1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9617
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#7F998A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7aa12c;
/* rgb */ color: rgb(122, 161, 44);
/* oklch */ color: oklch(65.8% 0.149 126.4);
Tailwind
colors: {
  custom: {
    50: '#a4bd6d',
    500: '#7aa12c',
    950: '#000000',
  },
}
SCSS
$custom: #7aa12c;
$custom-light: #a4bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa12c",
  "rgb": {
    "r": 122,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.1486,
    "h": 126.4
  },
  "luminance": 0.29809
}

Semantic roles & 50–950 ramp

primary
#7AA12C
secondary
#866ABF
accent
#47E07A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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