#7A9E2A#7A9E2A

#7A9E2A is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.0% C 0.146 H 125.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7A9E2A
RGBrgb(122, 158, 42)
HSLhsl(79, 58%, 39%)
HSVhsv(79, 73%, 62%)
CMYKcmyk(22.8%, 0%, 73.4%, 38%)
CIE-LABlab(60.57, -29.35, 53.24)
CIE-LCHlch(60.57, 60.80, 118.86°)
OKLaboklab(65.01% -0.0848 0.1189)
OKLCHoklch(65.01% 0.146 125.5)
XYZxyz(20.6710, 28.7582, 6.6519)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9E2A #4E2A9E
analogous
#9E882A #7A9E2A #409E2A
triadic
#7A9E2A #2A7A9E #9E2A7A
tetradic
#7A9E2A #2A9E88 #4E2A9E #9E2A40
square
#7A9E2A #2A9E88 #4E2A9E #9E2A40
split-complementary
#7A9E2A #2A409E #882A9E
monochromatic
#2F3D10 #556E1D #7A9E2A #9ECB3A #B6D86B

Accessibility & contrast

On white

3.11
#7A9E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7A9E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9E2A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9E2A#FFFFFF#000000##000000
##7A9E2A1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79314
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#7F9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7a9e2a;
/* rgb */ color: rgb(122, 158, 42);
/* oklch */ color: oklch(65.0% 0.146 125.5);
Tailwind
colors: {
  custom: {
    50: '#a4ba6c',
    500: '#7a9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a9e2a;
$custom-light: #a4ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9e2a",
  "rgb": {
    "r": 122,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 78.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.14605,
    "h": 125.5
  },
  "luminance": 0.28758
}

Semantic roles & 50–950 ramp

primary
#7A9E2A
secondary
#8166BE
accent
#47E177
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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