#7AA12B#7AA12B

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

Color values

HEX#7AA12B
RGBrgb(122, 161, 43)
HSLhsl(80, 58%, 40%)
HSVhsv(80, 73%, 63%)
CMYKcmyk(24.2%, 0%, 73.3%, 36.9%)
CIE-LABlab(61.48, -30.71, 53.78)
CIE-LCHlch(61.48, 61.93, 119.73°)
OKLaboklab(65.75% -0.0884 0.1202)
OKLCHoklch(65.75% 0.149 126.3)
XYZxyz(21.2070, 29.8014, 6.9200)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA12B #522BA1
analogous
#A18D2B #7AA12B #3FA12B
triadic
#7AA12B #2B7AA1 #A12B7A
tetradic
#7AA12B #2BA18D #522BA1 #A12B3F
square
#7AA12B #2BA18D #522BA1 #A12B3F
split-complementary
#7AA12B #2B3FA1 #8D2BA1
monochromatic
#314011 #55711E #7AA12B #9DCB3E #B5D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AA12B#FFFFFF#000000##000000
##7AA12B1.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)
#AA9615
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#7F998A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7aa12b;
/* rgb */ color: rgb(122, 161, 43);
/* oklch */ color: oklch(65.8% 0.149 126.3);
Tailwind
colors: {
  custom: {
    50: '#a4bd6d',
    500: '#7aa12b',
    950: '#000000',
  },
}
SCSS
$custom: #7aa12b;
$custom-light: #a4bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa12b",
  "rgb": {
    "r": 122,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 79.831,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.65753,
    "c": 0.14924,
    "h": 126.3
  },
  "luminance": 0.29802
}

Semantic roles & 50–950 ramp

primary
#7AA12B
secondary
#8569BF
accent
#47E17A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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