#7AA42E#7AA42E

#7AA42E is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.5% C 0.151 H 127.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7AA42E
RGBrgb(122, 164, 46)
HSLhsl(81, 56%, 41%)
HSVhsv(81, 72%, 64%)
CMYKcmyk(25.6%, 0%, 72%, 35.7%)
CIE-LABlab(62.41, -31.94, 53.58)
CIE-LCHlch(62.41, 62.38, 120.80°)
OKLaboklab(66.51% -0.0916 0.1203)
OKLCHoklch(66.51% 0.151 127.3)
XYZxyz(21.7947, 30.8853, 7.3974)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA42E #582EA4
analogous
#A4932E #7AA42E #3FA42E
triadic
#7AA42E #2E7AA4 #A42E7A
tetradic
#7AA42E #2EA493 #582EA4 #A42E3F
square
#7AA42E #2EA493 #582EA4 #A42E3F
split-complementary
#7AA42E #2E3FA4 #932EA4
monochromatic
#334413 #567421 #7AA42E #9BCB45 #B5D874

Accessibility & contrast

On white

2.93
#7AA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7AA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA42E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA42E#FFFFFF#000000##000000
##7AA42E1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991A
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#7F9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa42e;
/* rgb */ color: rgb(122, 164, 46);
/* oklch */ color: oklch(66.5% 0.151 127.3);
Tailwind
colors: {
  custom: {
    50: '#a4bf6e',
    500: '#7aa42e',
    950: '#000000',
  },
}
SCSS
$custom: #7aa42e;
$custom-light: #a4bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa42e",
  "rgb": {
    "r": 122,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 81.356,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.15115,
    "h": 127.3
  },
  "luminance": 0.30886
}

Semantic roles & 50–950 ramp

primary
#7AA42E
secondary
#8B6EC0
accent
#48DF7E
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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